mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-02 00:19:09 +08:00
style: 去掉安装页面的升级按钮
This commit is contained in:
parent
3456ab7509
commit
a8c4d153ea
@ -296,15 +296,6 @@ const buttons = [
|
|||||||
openOperate(row, 'sync');
|
openOperate(row, 'sync');
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
label: i18n.global.t('app.update'),
|
|
||||||
click: (row: any) => {
|
|
||||||
openOperate(row, 'update');
|
|
||||||
},
|
|
||||||
disabled: (row: any) => {
|
|
||||||
return !row.canUpdate;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: i18n.global.t('app.restart'),
|
label: i18n.global.t('app.restart'),
|
||||||
click: (row: any) => {
|
click: (row: any) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user