Browse Source

Remove permission description

As per 91ee8c8a9b
master
KaKi87 11 months ago
parent
commit
3545e6b4e3
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      public/assets/js/index.js

+ 1
- 2
public/assets/js/index.js View File

@ -141,10 +141,9 @@ searchButton.onclick = () => {
if(Array.isArray(app.permissions)){
app.permissions.forEach(permission => {
const p = permission.permission;
const d = permission.description;
if(displayedPermissions.indexOf(p) === -1){
displayedPermissions.push(p);
document.querySelector('.output2__data').innerHTML += `<tr class="output2__permission"><th class="output2__permission__name" data-uk-tooltip="title: ${d}; pos: right">${p}</th></tr>`;
document.querySelector('.output2__data').innerHTML += `<tr class="output2__permission"><th class="output2__permission__name">${p}</th></tr>`;
}
});
}


Loading…
Cancel
Save