console/frontend: fix submit button style when loading

This commit is contained in:
Vincent Bernat
2022-07-08 09:20:55 +02:00
parent 15fc92bfe3
commit 189c03972c

View File

@@ -39,7 +39,7 @@
attr-type="submit"
:disabled="hasErrors && !loading"
:loading="loading"
:type="loading ? 'default' : 'primary'"
:type="loading ? 'alternative' : 'primary'"
class="order-2 w-28 justify-center sm:order-3 lg:order-2"
>
{{ loading ? "Cancel" : applyLabel }}