From 281e58c4a7715c7e832a08abbafa1c7430102aa4 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 28 Jan 2026 16:41:16 +0100 Subject: [PATCH] bugfix --- assets/controllers/organization_controller.js | 2 +- templates/organization/index.html.twig | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) 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 %}