We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e1d3606 + b479873 commit 5ebd8c8Copy full SHA for 5ebd8c8
1 file changed
src/routes/(console)/project-[region]-[project]/overview/api-keys/scopes.svelte
@@ -186,7 +186,7 @@
186
const { detail } = event;
187
if (detail === 'indeterminate') return;
188
filteredScopes.forEach((s) => {
189
- if (s.category === category && !s.deprecated) {
+ if (s.category === category) {
190
activeScopes[s.scope] = detail;
191
}
192
});
@@ -217,7 +217,7 @@
217
{@const checked = categoryState(category, scopes)}
218
{@const isLastItem = index === categories.length - 1}
219
{@const scopesLength = filteredScopes.filter(
220
- (n) => n.category === category && effectiveScopes.includes(n.scope)
+ (n) => n.category === category && activeScopes[n.scope]
221
).length}
222
<Accordion
223
selectable
0 commit comments