diff --git a/shell/components/ResourceDetail/Masthead.vue b/shell/components/ResourceDetail/Masthead.vue index f2777f09aa0..b92f853fe28 100644 --- a/shell/components/ResourceDetail/Masthead.vue +++ b/shell/components/ResourceDetail/Masthead.vue @@ -447,7 +447,7 @@ export default { {{ parent.displayName }}: {{ parent.displayName }}: - {{ value.detailPageHeaderActionOverride(realMode) }} + {{ value?.detailPageHeaderActionOverride(realMode) }} ({ + ...acc, + [error]: { + message: error?.data?.message || error, + icon: null + } + }), {}); + }, }, watch: { @@ -360,6 +394,7 @@ export default { }, methods: { + stringify, setSubtype(subtype) { this.resourceSubtype = subtype; }, @@ -371,6 +406,9 @@ export default { m[act](); } }, + closeError(index) { + this.errors = this.errors.filter((_, i) => i !== index); + }, } }; @@ -398,6 +436,22 @@ export default { :value="liveModel" /> +
+ +