summaryrefslogtreecommitdiff
path: root/electron/src/renderer/components/Simulator.vue
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2023-09-07 13:25:47 -0400
committerGitHub <noreply@github.com>2023-09-07 19:25:47 +0200
commitaf96d720e9340e02b1ec6dafe10bf9a47e045804 (patch)
treea49d9b1570050db02ff8f17b754e54ec7b9a6e1a /electron/src/renderer/components/Simulator.vue
parent3db335b0f41ebfcc694914bba5bf81aed9ae98d4 (diff)
improve params errors (#2437)
Diffstat (limited to 'electron/src/renderer/components/Simulator.vue')
-rw-r--r--electron/src/renderer/components/Simulator.vue13
1 files changed, 13 insertions, 0 deletions
diff --git a/electron/src/renderer/components/Simulator.vue b/electron/src/renderer/components/Simulator.vue
index 6d76b133..e2d65ed8 100644
--- a/electron/src/renderer/components/Simulator.vue
+++ b/electron/src/renderer/components/Simulator.vue
@@ -306,6 +306,19 @@
</div>
</div>
</loading>
+ <v-dialog v-model="error" width="auto">
+ <v-card flat>
+ <v-card-title class="pa-4">
+ Error Generating Stitch Plan
+ </v-card-title>
+ <v-card-text>
+ <p style="white-space: pre-wrap;">{{ error_message }}</p>
+ </v-card-text>
+ <v-card-actions class="justify-center">
+ <v-btn color="primary" variant="text" class="dialog-button" @click="close">Close</v-btn>
+ </v-card-actions>
+ </v-card>
+ </v-dialog>
</div>
</template>