diff --git a/assets/controllers/organization_controller.js b/assets/controllers/organization_controller.js index 5f96928..8024cdb 100644 --- a/assets/controllers/organization_controller.js +++ b/assets/controllers/organization_controller.js @@ -4,7 +4,7 @@ import {TabulatorFull as Tabulator} from 'tabulator-tables'; import {eyeIconLink, TABULATOR_FR_LANG} from "../js/global.js"; export default class extends Controller { - static values = {aws: String, + static values = { id: String, activities: Boolean, table: Boolean, diff --git a/templates/organization/index.html.twig b/templates/organization/index.html.twig index a8b1e71..6b3e280 100644 --- a/templates/organization/index.html.twig +++ b/templates/organization/index.html.twig @@ -36,9 +36,8 @@
+ data-organization-user-value="{{ app.user.getId() }}" + data-organization-sadmin-value="{{ is_granted('ROLE_SUPER_ADMIN') ? true : false }}">
{% endif %}