Skip to content

Commit

Permalink
fix(*): add proper cache-identifier to all entity lists (#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
Justineo authored Dec 5, 2024
1 parent cb89642 commit 263fb93
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 2 deletions.
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

0 comments on commit 263fb93

Please sign in to comment.