mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-22 16:00:51 +00:00
fix: Disable the free license editing button (#8613)
This commit is contained in:
@@ -254,6 +254,9 @@ const buttons = [
|
||||
},
|
||||
{
|
||||
label: i18n.global.t('commons.button.edit'),
|
||||
disabled: (row: any) => {
|
||||
return row.status === 'Free';
|
||||
},
|
||||
click: (row: any) => {
|
||||
licenseRef.value.acceptParams({ oldLicense: row.licenseName, isImport: true });
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user