Fixed issue that may occour if no queue is built when starting one from the table.
This commit is contained in:
@@ -165,7 +165,7 @@ export default function JobsTable({ onlyActive = false }: JobsTableProps) {
|
|||||||
<span className="text-red-400 mr-2">Queue Stopped</span>
|
<span className="text-red-400 mr-2">Queue Stopped</span>
|
||||||
<button
|
<button
|
||||||
onClick={async () => {
|
onClick={async () => {
|
||||||
await startQueue(queue.gpu_ids as string);
|
await startQueue(gpuKey);
|
||||||
refresh();
|
refresh();
|
||||||
}}
|
}}
|
||||||
className="ml-4 text-xs bg-green-700 hover:bg-green-600 px-2 py-1 rounded"
|
className="ml-4 text-xs bg-green-700 hover:bg-green-600 px-2 py-1 rounded"
|
||||||
|
|||||||
Reference in New Issue
Block a user