We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e892ff2 + 026ffcd commit b35661aCopy full SHA for b35661a
src/lib/wizards/functions/steps/templatePermissions.svelte
@@ -10,7 +10,10 @@
10
onMount(() => {
11
$templateConfig.execute = $template.permissions.includes('any');
12
templateScopes = scopes
13
- .filter((scope) => $template.scopes.includes(scope.scope))
+ // hot fix for perplexity chat template,
14
+ // backend doesn't have scopes for this template.
15
+ // TODO: @itznotabug fix on backend too.
16
+ .filter((scope) => ($template.scopes ?? []).includes(scope.scope))
17
.map((scope) => ({
18
...scope,
19
active: true
0 commit comments