mirror of
https://github.com/status-im/consul.git
synced 2025-02-14 14:47:02 +00:00
7044aa52c8
Adds namespace support to the UI: 1. Namespace CRUD/management 2. Show Namespace in relevant areas (intentions, upstreams) 3. Main navigation bar improvements 4. Logic/integration to interact with a new `internal/acl/authorize` endpoint
16 lines
491 B
JavaScript
16 lines
491 B
JavaScript
export default function(visitable, clickable, attribute, collection, page, filter) {
|
|
return {
|
|
visit: visitable('/:dc/services'),
|
|
services: collection('[data-test-service]', {
|
|
name: attribute('data-test-service'),
|
|
service: clickable('a'),
|
|
externalSource: attribute('data-test-external-source', 'a span'),
|
|
}),
|
|
dcs: collection('[data-test-datacenter-picker]', {
|
|
name: clickable('a'),
|
|
}),
|
|
navigation: page.navigation,
|
|
filter: filter,
|
|
};
|
|
}
|