fix(nc-gui): use danger NcMenuItem prop instead of hardcoding style

This commit is contained in:
Ramesh Mane
2025-08-15 05:49:29 +00:00
parent 8e79ee7f47
commit bf4b40c125
24 changed files with 67 additions and 122 deletions

View File

@@ -578,10 +578,7 @@ onKeyStroke('ArrowDown', onDown)
</NcTooltip>
<template v-if="integration?.sub_type !== SyncDataType.NOCODB">
<NcDivider />
<NcMenuItem
class="!text-nc-content-red-medium !hover:bg-nc-bg-red-light"
@click="openDeleteIntegration(integration)"
>
<NcMenuItem danger @click="openDeleteIntegration(integration)">
<GeneralIcon icon="delete" />
{{ $t('general.delete') }}
</NcMenuItem>