Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(*): add proper cache-identifier to all entity lists #345

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"]
"recommendations": ["Vue.volar"]
}
1 change: 1 addition & 0 deletions src/pages/ca-certificates/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
</template>
</PageHeader>
<CACertificateList
cache-identifier="ca_certificates"
:config="caCertificateListConfig"
:can-create="canCreate"
:can-delete="canDelete"
Expand Down
1 change: 1 addition & 0 deletions src/pages/certificates/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
</template>
</PageHeader>
<CertificateList
cache-identifier="certificates"
:config="certificateListConfig"
:can-create="canCreate"
:can-delete="canDelete"
Expand Down
1 change: 1 addition & 0 deletions src/pages/consumers/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
</template>
</PageHeader>
<ConsumerList
cache-identifier="consumers"
:config="consumerListConfig"
:can-create="canCreate"
:can-delete="canDelete"
Expand Down
1 change: 1 addition & 0 deletions src/pages/key-sets/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
</template>
</PageHeader>
<KeySetList
cache-identifier="key_sets"
:config="keyListConfig"
:can-create="canCreate"
:can-delete="canDelete"
Expand Down
2 changes: 1 addition & 1 deletion src/pages/keys/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const { t } = useI18n()
const docsLink = useDocsLink(EntityType.Key)

const keySetId = computed(() => (route.params?.id ?? '') as string)
const cacheIdentifier = computed(() => `routes-${keySetId.value}`)
const cacheIdentifier = computed(() => `keys-${keySetId.value}`)

const filterSchema = computed<FilterSchema>(() => {
return {
Expand Down
1 change: 1 addition & 0 deletions src/pages/services/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
</template>
</PageHeader>
<GatewayServiceList
cache-identifier="services"
:config="serviceListConfig"
:can-create="canCreate"
:can-delete="canDelete"
Expand Down
1 change: 1 addition & 0 deletions src/pages/snis/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
</template>
</PageHeader>
<SniList
cache-identifier="snis"
:config="sniListConfig"
:can-create="canCreate"
:can-delete="canDelete"
Expand Down
1 change: 1 addition & 0 deletions src/pages/upstreams/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
</template>
</PageHeader>
<UpstreamsList
cache-identifier="upstreams"
:config="upstreamListConfig"
:can-create="canCreate"
:can-delete="canDelete"
Expand Down
1 change: 1 addition & 0 deletions src/pages/vaults/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
</template>
</PageHeader>
<VaultList
cache-identifier="vaults"
:config="vaultListConfig"
:can-create="canCreate"
:can-delete="canDelete"
Expand Down
Loading