mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
Disable button on free plan
This commit is contained in:
parent
466361fc2f
commit
e6d800459b
2 changed files with 5 additions and 0 deletions
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -79,6 +79,10 @@ button:focus:not(:focus-visible) {
|
|||
.color-tomato9 {
|
||||
color: var(--tomato9)
|
||||
}
|
||||
|
||||
.color-disabled {
|
||||
color: var(--text-disabled);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue