From 088abac83b9cbeb22bd7477aed38a51ec0fad649 Mon Sep 17 00:00:00 2001 From: Oreille <33065839+Oreilles@users.noreply.github.com> Date: Fri, 29 Oct 2021 18:26:46 +0200 Subject: [PATCH] Fix dynamic variables not working anymore in UUID filter (#9180) * Fix $CURRENT_USER not working anymore in UUID filter * $Handle CURRENT_ROLE too --- app/src/interfaces/_system/system-filter/input-component.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/interfaces/_system/system-filter/input-component.vue b/app/src/interfaces/_system/system-filter/input-component.vue index 5f1141b47f..1697842a56 100644 --- a/app/src/interfaces/_system/system-filter/input-component.vue +++ b/app/src/interfaces/_system/system-filter/input-component.vue @@ -112,7 +112,7 @@ export default defineComponent({ case 'float': return '[+-]?[0-9]+\\.?[0-9]*'; case 'uuid': - return '[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}'; + return '\\$CURRENT_USER|\\$CURRENT_ROLE|[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}'; default: return ''; }