fix(settings): Remove aria-label on scope actions

Signed-off-by: Christopher Ng <chrng8@gmail.com>
pull/40938/head
Christopher Ng 2023-10-23 15:53:30 +07:00
parent 30cb1badb1
commit 18a2391cab
2 changed files with 2 additions and 4 deletions

@ -34,8 +34,7 @@
:is-supported-scope="supportedScopes.includes(federationScope.name)"
:name="federationScope.name"
:tooltip-disabled="federationScope.tooltipDisabled"
:tooltip="federationScope.tooltip"
:aria-label="federationScope.tooltip" />
:tooltip="federationScope.tooltip" />
</NcActions>
</template>

@ -21,8 +21,7 @@
-->
<template>
<NcActionButton :aria-label="isSupportedScope ? tooltip : tooltipDisabled"
class="federation-actions__btn"
<NcActionButton class="federation-actions__btn"
:class="{ 'federation-actions__btn--active': activeScope === name }"
:close-after-click="true"
:disabled="!isSupportedScope"