send email - do not change status if test
This commit is contained in:
parent
afd3df123f
commit
b1923e8d4c
4 changed files with 10 additions and 147 deletions
|
|
@ -59,14 +59,14 @@ const { pageUri } = defineProps({
|
|||
const testBtnState = ref({
|
||||
icon: "plane",
|
||||
text: "Tester",
|
||||
theme: "blue",
|
||||
theme: null,
|
||||
error: null,
|
||||
});
|
||||
|
||||
const sendBtnState = ref({
|
||||
icon: "plane",
|
||||
text: "Envoyer",
|
||||
theme: "aqua",
|
||||
theme: "orange",
|
||||
error: null,
|
||||
});
|
||||
|
||||
|
|
@ -76,7 +76,7 @@ async function send(event, isTest = false) {
|
|||
const currentBtnState = isTest ? testBtnState : sendBtnState;
|
||||
|
||||
currentBtnState.value = {
|
||||
theme: "orange",
|
||||
theme: "blue",
|
||||
text: "En cours…",
|
||||
icon: "loader",
|
||||
error: null,
|
||||
|
|
@ -110,7 +110,7 @@ async function send(event, isTest = false) {
|
|||
currentBtnState.value = {
|
||||
icon: "plane",
|
||||
text: "Re-tester",
|
||||
theme: "blue",
|
||||
theme: null,
|
||||
error: null,
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue