-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wip/mk/display message on warning (#11705)
- Loading branch information
1 parent
909afff
commit 173478f
Showing
3 changed files
with
57 additions
and
6 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
app/gui/src/project-view/components/visualizations/JSONVisualization/JsonErrorWidget.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<script setup lang="ts"> | ||
const props = defineProps<{ | ||
data: unknown | ||
}>() | ||
</script> | ||
|
||
<template> | ||
<span class="JsonErrorWidget" v-text="props.data" /> | ||
</template> | ||
|
||
<style scoped> | ||
.JsonErrorWidget { | ||
padding: 8px; | ||
padding-inline-start: 0; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters