Skip to content

Commit

Permalink
fix(ui): add optional check if string exists
Browse files Browse the repository at this point in the history
  • Loading branch information
MilosPaunovic authored and brian-mulier-p committed Aug 29, 2024
1 parent 4ede173 commit 095e29e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/flows/blueprints/BlueprintDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
this.blueprint = (await this.$http.get(`${URL}/${this.blueprintId}`)).data
try {
if (this.blueprintBaseUri.endsWith("community")) {
if (this.blueprintBaseUri?.endsWith("community")) {
this.flowGraph = (await this.$http.get(`${this.blueprintBaseUri}/${this.blueprintId}/graph`, {
validateStatus: (status) => {
return status === 200;
Expand Down

0 comments on commit 095e29e

Please sign in to comment.