Security: calculate connect-source of specialVisualisations by argument, if applicable

This commit is contained in:
Pieter Vander Vennet 2023-11-19 16:31:58 +01:00
parent e4aedc9696
commit 29b1f5be4d
3 changed files with 38 additions and 9 deletions

View file

@ -1454,7 +1454,7 @@ export default class SpecialVisualizations {
},
],
docs: "Shows events that are happening based on a Giggity URL",
needsUrls: ["*"],
needsUrls: (args) => args[0],
constr(
state: SpecialVisualizationState,
tagSource: UIEventSource<Record<string, string>>,