type='text' is not valid for a <button> and it was triggering a form submit

(cherry picked from commit c0680f4bd6)
This commit is contained in:
Massedil 2024-06-19 15:21:37 +02:00 committed by summersamara
parent 443b26da65
commit 0a023397b1

View file

@ -32,7 +32,7 @@
<div class="flex-1" v-else> <div class="flex-1" v-else>
{{ `@${selectedActor.preferredUsername}` }} {{ `@${selectedActor.preferredUsername}` }}
</div> </div>
<o-button type="text" @click="isComponentModalActive = true"> <o-button @click="isComponentModalActive = true">
{{ $t("Change") }} {{ $t("Change") }}
</o-button> </o-button>
</div> </div>