certificate generation: success toast styling
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-02-01 14:47:38 +01:00
parent c2b615294e
commit 1603a097f7

View File

@@ -327,7 +327,7 @@
<script setup> <script setup>
import { reactive } from "vue"; import { reactive } from "vue";
import { useToast } from "vue-toastification"; import { TYPE, useToast } from "vue-toastification";
import axios from "redaxios"; import axios from "redaxios";
const state = reactive({ const state = reactive({
@@ -411,7 +411,7 @@ function get_certificate() {
fileLink.click(); fileLink.click();
fileLink.remove(); fileLink.remove();
toast("Urkunde generiert!"); toast("Urkunde generiert!",{type:TYPE.SUCCESS});
} }
}) })
.catch((err) => { .catch((err) => {