@@ -84,6 +91,9 @@
{{ $t('database.isDelete') }}
+
+ {{ $t('commons.status.systemrestart') }}
+
{{ $t('commons.status.failed') }}
@@ -379,7 +389,7 @@ const onDelete = async (row: AI.OllamaModelInfo) => {
});
};
-const onLoadLog = (row: AI.OllamaModelInfo) => {
+const onLoadLog = (row: any) => {
if (row.from === 'remote') {
MsgInfo(i18n.global.t('ai_tools.model.from_remote'));
return;
@@ -407,7 +417,7 @@ const buttons = [
onDelete(row);
},
disabled: (row: any) => {
- return row.status !== 'Success';
+ return row.status !== 'Success' && row.status !== 'Deleted';
},
},
];