File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
frontend/src/views/ai/model/tensorrt Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ const buttons = [
192192 {
193193 label: i18n .global .t (' commons.button.start' ),
194194 disabled : (row : AI .TensorRTLLM ) => {
195- return row .status === ' running ' ;
195+ return row .status === ' Running ' ;
196196 },
197197 click : (row : AI .TensorRTLLM ) => {
198198 operate (row , ' start' );
@@ -201,17 +201,14 @@ const buttons = [
201201 {
202202 label: i18n .global .t (' commons.button.stop' ),
203203 disabled : (row : AI .TensorRTLLM ) => {
204- return row .status !== ' running ' ;
204+ return row .status !== ' Running ' ;
205205 },
206206 click : (row : AI .TensorRTLLM ) => {
207207 operate (row , ' stop' );
208208 },
209209 },
210210 {
211211 label: i18n .global .t (' commons.button.restart' ),
212- disabled : (row : AI .TensorRTLLM ) => {
213- return row .status !== ' running' ;
214- },
215212 click : (row : AI .TensorRTLLM ) => {
216213 operate (row , ' restart' );
217214 },
You can’t perform that action at this time.
0 commit comments