Allow direct search links into the eventlog
This commit is contained in:
@@ -132,6 +132,8 @@ function onHashChange() {
|
||||
else if (activeSidebarItem.value.indexOf('user-directory') === 0) activeSidebarGroup.value = 'user-directory';
|
||||
else activeSidebarGroup.value = '';
|
||||
|
||||
console.log('heading to ', v)
|
||||
|
||||
if (v === VIEWS.APPS) {
|
||||
view.value = VIEWS.APPS;
|
||||
} else if (v.indexOf(VIEWS.APPSTORE) === 0 && profile.value.isAtLeastAdmin) {
|
||||
@@ -170,7 +172,7 @@ function onHashChange() {
|
||||
view.value = VIEWS.SYSTEM_LOCALE;
|
||||
} else if (v === VIEWS.SYSTEM_DOCKER && profile.value.isAtLeastAdmin) {
|
||||
view.value = VIEWS.SYSTEM_DOCKER;
|
||||
} else if (v === VIEWS.SYSTEM_EVENTLOG && profile.value.isAtLeastAdmin) {
|
||||
} else if (v.indexOf(VIEWS.SYSTEM_EVENTLOG) === 0 && profile.value.isAtLeastAdmin) {
|
||||
view.value = VIEWS.SYSTEM_EVENTLOG;
|
||||
} else if (v === VIEWS.SYSTEM_UPDATE && profile.value.isAtLeastAdmin) {
|
||||
view.value = VIEWS.SYSTEM_UPDATE;
|
||||
|
||||
Reference in New Issue
Block a user