|
|
@ -227,14 +227,14 @@ const toggleSelectAll = (role: Role) => { |
|
|
|
|
|
|
|
|
|
|
|
<div v-for="role in roles" :key="role"> |
|
|
|
<div v-for="role in roles" :key="role"> |
|
|
|
<div v-if="column.name === role"> |
|
|
|
<div v-if="column.name === role"> |
|
|
|
<a-tooltip> |
|
|
|
<NcTooltip> |
|
|
|
<template #title> |
|
|
|
<template #title> |
|
|
|
<span v-if="record.disabled[role]"> |
|
|
|
<span v-if="record.disabled[role]"> |
|
|
|
{{ $t('labels.clickToMake') }} '{{ record.title }}' {{ $t('labels.visibleForRole') }} {{ role }} |
|
|
|
{{ $t('labels.clickToMake') }} '{{ record.title }}' {{ $t('labels.visibleForRole') }} {{ role }} |
|
|
|
{{ $t('labels.inUI') }} dashboard</span |
|
|
|
{{ $t('labels.inUI') }} dashboard</span |
|
|
|
> |
|
|
|
> |
|
|
|
<span v-else |
|
|
|
<span v-else |
|
|
|
>{{ $t('labels.clickToHide') }}'{{ record.title }}' {{ $t('labels.forRole') }}:{{ role }} |
|
|
|
>{{ $t('labels.clickToHide') }} '{{ record.title }}' {{ $t('labels.forRole') }}:{{ role }} |
|
|
|
{{ $t('labels.inUI') }}</span |
|
|
|
{{ $t('labels.inUI') }}</span |
|
|
|
> |
|
|
|
> |
|
|
|
</template> |
|
|
|
</template> |
|
|
@ -244,7 +244,7 @@ const toggleSelectAll = (role: Role) => { |
|
|
|
:class="`nc-acl-${record.title}-${role}-chkbox !ml-0.25`" |
|
|
|
:class="`nc-acl-${record.title}-${role}-chkbox !ml-0.25`" |
|
|
|
@change="onRoleCheck(record, role as Role)" |
|
|
|
@change="onRoleCheck(record, role as Role)" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</a-tooltip> |
|
|
|
</NcTooltip> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|