mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-14 09:27:41 +00:00
[automated] Apply ESLint and Prettier fixes
This commit is contained in:
@@ -212,7 +212,9 @@ describe('WidgetSelect Value Binding', () => {
|
||||
|
||||
// Should not duplicate the value
|
||||
expect(selectOptions).toEqual(options)
|
||||
expect(selectOptions.filter((opt: string) => opt === 'option2')).toHaveLength(1)
|
||||
expect(
|
||||
selectOptions.filter((opt: string) => opt === 'option2')
|
||||
).toHaveLength(1)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
@@ -30,9 +30,9 @@ import {
|
||||
filterWidgetProps
|
||||
} from '@/utils/widgetPropFilter'
|
||||
|
||||
import { ensureValueInOptions } from '../utils/widgetOptionsUtils'
|
||||
import { WidgetInputBaseClass } from './layout'
|
||||
import WidgetLayoutField from './layout/WidgetLayoutField.vue'
|
||||
import { ensureValueInOptions } from '../utils/widgetOptionsUtils'
|
||||
|
||||
const props = defineProps<{
|
||||
widget: SimplifiedWidget<string | number | undefined>
|
||||
|
||||
@@ -16,6 +16,7 @@ import {
|
||||
filterWidgetProps
|
||||
} from '@/utils/widgetPropFilter'
|
||||
|
||||
import { ensureValueInOptions } from '../utils/widgetOptionsUtils'
|
||||
import FormDropdown from './form/dropdown/FormDropdown.vue'
|
||||
import { AssetKindKey } from './form/dropdown/types'
|
||||
import type {
|
||||
@@ -24,7 +25,6 @@ import type {
|
||||
SelectedKey
|
||||
} from './form/dropdown/types'
|
||||
import WidgetLayoutField from './layout/WidgetLayoutField.vue'
|
||||
import { ensureValueInOptions } from '../utils/widgetOptionsUtils'
|
||||
|
||||
const props = defineProps<{
|
||||
widget: SimplifiedWidget<string | number | undefined>
|
||||
|
||||
Reference in New Issue
Block a user