mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 14:27:40 +00:00
Fix typos (#404)
* Fix typos: Interupt -> Interrupt * Fix typos: tempateManagerRow -> templateManagerRow * Fix some typos * Fix typos: Convertable -> Convertible * Fix some typos
This commit is contained in:
@@ -1724,7 +1724,7 @@ export class ComfyApp {
|
||||
|
||||
const r = onConfigure?.apply(this, arguments)
|
||||
|
||||
// Fire after onConfigure, used by primitves to generate widget using input nodes config
|
||||
// Fire after onConfigure, used by primitives to generate widget using input nodes config
|
||||
// @ts-expect-error _nodes is private.
|
||||
for (const node of app.graph._nodes) {
|
||||
node.onAfterGraphConfigured?.()
|
||||
|
||||
@@ -7,7 +7,7 @@ import { ComfyButtonGroup } from '../components/buttonGroup'
|
||||
import { ComfySplitButton } from '../components/splitButton'
|
||||
import { ComfyQueueButton } from './queueButton'
|
||||
import { ComfyWorkflowsMenu } from './workflows'
|
||||
import { getInteruptButton } from './interruptButton'
|
||||
import { getInterruptButton } from './interruptButton'
|
||||
import './menu.css'
|
||||
import type { ComfySettingsDialog } from '../settings'
|
||||
|
||||
@@ -126,7 +126,9 @@ export class ComfyAppMenu {
|
||||
// Keep the settings group as there are custom scripts attaching extra
|
||||
// elements to it.
|
||||
this.settingsGroup = new ComfyButtonGroup()
|
||||
this.viewGroup = new ComfyButtonGroup(getInteruptButton('nlg-hide').element)
|
||||
this.viewGroup = new ComfyButtonGroup(
|
||||
getInterruptButton('nlg-hide').element
|
||||
)
|
||||
this.mobileMenuButton = new ComfyButton({
|
||||
icon: 'menu',
|
||||
action: (_, btn) => {
|
||||
@@ -148,7 +150,7 @@ export class ComfyAppMenu {
|
||||
collapseOnMobile(this.settingsGroup).element,
|
||||
collapseOnMobile(this.viewGroup).element,
|
||||
|
||||
getInteruptButton('lt-lg-show').element,
|
||||
getInterruptButton('lt-lg-show').element,
|
||||
this.queueButton.element,
|
||||
showOnMobile(this.mobileMenuButton).element
|
||||
])
|
||||
|
||||
@@ -2,7 +2,7 @@ import { StatusWsMessageStatus } from '@/types/apiTypes'
|
||||
import { api } from '../../api'
|
||||
import { ComfyButton } from '../components/button'
|
||||
|
||||
export function getInteruptButton(visibility: string) {
|
||||
export function getInterruptButton(visibility: string) {
|
||||
const btn = new ComfyButton({
|
||||
icon: 'close',
|
||||
tooltip: 'Cancel current generation',
|
||||
|
||||
Reference in New Issue
Block a user