0
1
Fork 0

Avoid redirecting to access log when clicking suplant user button

This commit is contained in:
William Buezas 2024-09-16 23:05:32 -03:00
parent bc97e000b8
commit d09f90d47c
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ onBeforeUnmount(() => clearInterval(intervalId.value));
icon="people"
flat
rounded
@click="supplantUser(connection.user)"
@click.stop.prevent="supplantUser(connection.user)"
>
<QTooltip>
{{ t('supplantUser') }}

View File

@ -78,7 +78,7 @@ const supplantUser = async user => {
icon="people"
flat
rounded
@click="supplantUser(user.name)"
@click.stop.prevent="supplantUser(user.name)"
>
<QTooltip>
{{ t('Impersonate user') }}