-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#48 add message when series is created. Change color of message's type
- Loading branch information
1 parent
57ec5bc
commit 4185895
Showing
6 changed files
with
53 additions
and
18 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
|
||
<script setup lang="ts"> | ||
const stateMessage = useState("stateMessage", () => {return { | ||
actif:false, | ||
type : undefined, | ||
message: ""} | ||
}) | ||
const timeout = -1 | ||
</script> | ||
|
||
<template> | ||
<v-snackbar | ||
v-model="stateMessage.actif" | ||
:timeout="timeout" | ||
> | ||
<v-alert | ||
v-model="stateMessage.actif" | ||
:type="stateMessage.type" | ||
closable | ||
:text="stateMessage.message" | ||
/> | ||
</v-snackbar> | ||
</template> |
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
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