Changeset View
Changeset View
Standalone View
Standalone View
src/resources/js/app.js
Show First 20 Lines • Show All 345 Lines • ▼ Show 20 Lines | methods: { | ||||
} | } | ||||
if (!list.isLdapReady) { | if (!list.isLdapReady) { | ||||
return this.$t('status.notready') | return this.$t('status.notready') | ||||
} | } | ||||
return this.$t('status.active') | return this.$t('status.active') | ||||
}, | }, | ||||
folderStatusClass(folder) { | |||||
return this.userStatusClass(folder) | |||||
}, | |||||
folderStatusText(folder) { | |||||
return this.userStatusText(folder) | |||||
}, | |||||
pageName(path) { | pageName(path) { | ||||
let page = this.$route.path | let page = this.$route.path | ||||
// check if it is a "menu page", find the page name | // check if it is a "menu page", find the page name | ||||
// otherwise we'll use the real path as page name | // otherwise we'll use the real path as page name | ||||
window.config.menu.every(item => { | window.config.menu.every(item => { | ||||
if (item.location == page && item.page) { | if (item.location == page && item.page) { | ||||
page = item.page | page = item.page | ||||
▲ Show 20 Lines • Show All 204 Lines • Show Last 20 Lines |