fix: kick and ban would execute regardless of prompt due to calling the function in the Button callback prop instead of just passing it
This commit is contained in:
parent
3a9df965c2
commit
7cb19adfbe
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="confirmation-modal-buttons">
|
<div class="confirmation-modal-buttons">
|
||||||
<Button :variant="'normal'" :text="'Cancel'" @click="closeModal()" />
|
<Button :variant="'normal'" :text="'Cancel'" @click="closeModal()" />
|
||||||
<Button :variant="'scary'" :text="'Confirm'" :callback="props.callback()" />
|
<Button :variant="'scary'" :text="'Confirm'" :callback="props.callback" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</ModalBase>
|
</ModalBase>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue