Disable button on free plan

This commit is contained in:
devanshu052000 2025-06-03 23:44:26 +05:30
parent 466361fc2f
commit e6d800459b
2 changed files with 5 additions and 0 deletions

View file

@ -276,6 +276,7 @@ export const QueryCard = ({ dataQuery, darkMode = false, localDs }) => {
<div
className={classNames('list-item-option-menu-label', {
'color-tomato9': option.value === 'delete',
'color-disabled': option.value === 'permission' && !licenseValid,
})}
>
{option?.label}

View file

@ -79,6 +79,10 @@ button:focus:not(:focus-visible) {
.color-tomato9 {
color: var(--tomato9)
}
.color-disabled {
color: var(--text-disabled);
}
}
}