mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-09-16 03:25:26 +08:00
fix: Disable the free license editing button (#8613)
This commit is contained in:
parent
27d7844004
commit
d3dfd72a39
1 changed files with 3 additions and 0 deletions
|
@ -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 });
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue