We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3d241d7 + 2aa729d commit 57204a1Copy full SHA for 57204a1
src/components/entity/EntityResult.vue
@@ -640,11 +640,10 @@ export default {
640
this.selectedTopic?.attributes
641
);
642
643
- const ret = state?.type + "." + state?.value;
644
- if (ret.includes("undefined")) {
645
- return undefined;
646
- }
647
- return ret;
+ const maybeEntityStatus = state?.type + "." + state?.value;
+ console.log("maybeEntityStatus is ", maybeEntityStatus)
+ // if either state, state.type, or state.value are undefined return undefined
+ return maybeEntityStatus.includes("undefined") ? undefined : maybeEntityStatus
648
},
649
650
entityRegistrationDate: function (): string | undefined {
0 commit comments