remove alert
This commit is contained in:
parent
1dc7216b9f
commit
bacef43ad0
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ffplayout-frontend",
|
"name": "ffplayout-frontend",
|
||||||
"version": "0.1.1",
|
"version": "0.1.2",
|
||||||
"description": "Web GUI for ffplayout",
|
"description": "Web GUI for ffplayout",
|
||||||
"author": "Jonathan Baecker",
|
"author": "Jonathan Baecker",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
@ -159,23 +159,6 @@
|
|||||||
<div class="col sub-btn">
|
<div class="col sub-btn">
|
||||||
<button class="btn btn-primary send-btn" type="submit">Send</button>
|
<button class="btn btn-primary send-btn" type="submit">Send</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="col">
|
|
||||||
<div
|
|
||||||
v-if="indexStore.showAlert"
|
|
||||||
class="alert show alert-dismissible fade login-alert"
|
|
||||||
:class="indexStore.alertVariant"
|
|
||||||
role="alert"
|
|
||||||
>
|
|
||||||
{{ indexStore.alertMsg }}
|
|
||||||
<button
|
|
||||||
type="button"
|
|
||||||
class="btn-close"
|
|
||||||
data-bs-dismiss="alert"
|
|
||||||
aria-label="Close"
|
|
||||||
@click="indexStore.resetAlert()"
|
|
||||||
></button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
@ -400,6 +383,10 @@ async function savePreset() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
indexStore.showAlert = true
|
indexStore.showAlert = true
|
||||||
|
|
||||||
|
setTimeout(() => {
|
||||||
|
indexStore.showAlert = false
|
||||||
|
}, 3000)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -441,6 +428,10 @@ async function createNewPreset() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
indexStore.showAlert = true
|
indexStore.showAlert = true
|
||||||
|
|
||||||
|
setTimeout(() => {
|
||||||
|
indexStore.showAlert = false
|
||||||
|
}, 3000)
|
||||||
}
|
}
|
||||||
|
|
||||||
async function deletePreset() {
|
async function deletePreset() {
|
||||||
@ -483,6 +474,10 @@ async function submitMessage() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
indexStore.showAlert = true
|
indexStore.showAlert = true
|
||||||
|
|
||||||
|
setTimeout(() => {
|
||||||
|
indexStore.showAlert = false
|
||||||
|
}, 3000)
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user