Rework queue button (#968)

* Move queue button to right side

* Rework split button

* Group

* Remove unused code

* x2 buttons

* Use primevue divider

* adjust style

* Add tooltip

* Update test

* Add clearing pending tasks button to queue bar

* Fix state

* Dropdown list fix
This commit is contained in:
Chenlei Hu
2024-09-25 11:55:50 +09:00
parent 59976ea357
commit 5ee0fd3519
10 changed files with 188 additions and 200 deletions

View File

@@ -9,7 +9,7 @@ import type {
TaskOutput,
ResultItem
} from '@/types/apiTypes'
import type { ComfyNode, NodeId } from '@/types/comfyWorkflow'
import type { NodeId } from '@/types/comfyWorkflow'
import { plainToClass } from 'class-transformer'
import _ from 'lodash'
import { defineStore } from 'pinia'