This commit is contained in:
2019-02-01 00:20:02 +00:00
parent df26b6443b
commit 563e71d7af
2 changed files with 17 additions and 0 deletions

View File

@@ -55,6 +55,14 @@
<script>
export default {
/* Check rights to edit or view here?
e.g.
if (
roles.hasRole(roles.AuthorizationRoles.OpsAdminFull) ||
roles.hasRole(roles.AuthorizationRoles.OpsAdminLimited)
) {
addNavItem(lt.get("Operations"), "cogs", "ops");
} */
props: {
dialogdata: {
showeditdialog: false,

View File

@@ -118,6 +118,15 @@ export default {
}
},
mounted() {
/* Check rights here?
e.g.
if (
roles.hasRole(roles.AuthorizationRoles.OpsAdminFull) ||
roles.hasRole(roles.AuthorizationRoles.OpsAdminLimited)
) {
addNavItem(lt.get("Operations"), "cogs", "ops");
}
*/
this.rowsPerPageText = this.lt("RowsPerPage");
},
computed: {},