Skip to content

Commit

Permalink
Schema can be null in namespaceLocation getter when navigating to clu…
Browse files Browse the repository at this point in the history
…ster explorer - only embedded mode.

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
  • Loading branch information
torchiaf committed Aug 17, 2023
1 parent e345afa commit 4c1a00d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/pkg/epinio/models/epinio-namespaced-resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default class EpinioMetaResource extends EpinioResource {
get namespaceLocation() {
return createEpinioRoute(`c-cluster-resource-id`, {
cluster: this.$rootGetters['clusterId'],
resource: this.schema.id,
resource: this.schema?.id,
id: this.meta.namespace,
});
}
Expand Down

0 comments on commit 4c1a00d

Please sign in to comment.