Skip to content

Commit 8272fbf

Browse files
committed
Display error message in custom tool editor
1 parent 4cf80af commit 8272fbf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

client/src/components/Tool/CustomToolEditor.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ async function saveTool() {
106106

107107
<template>
108108
<div>
109+
<b-alert v-if="errorMsg" variant="danger" show dismissible>
110+
{{ errorMsg }}
111+
</b-alert>
109112
<div class="d-flex flex-gapx-1">
110113
<Heading h1 separator inline size="lg" class="flex-grow-1 mb-2">Tool Editor</Heading>
111114
<b-button variant="primary" size="m" @click="saveTool">Save</b-button>

0 commit comments

Comments
 (0)