mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-10 15:40:24 +00:00
[TS] Fix ts-strict errors in Vue components (Part 2) (#3123)
Co-authored-by: Christian Byrne <cbyrne@comfy.org>
This commit is contained in:
@@ -52,7 +52,7 @@ onMounted(() => {
|
||||
|
||||
const updateIconColor = () => {
|
||||
if (iconElement.value && customization.value) {
|
||||
iconElement.value.style.color = customization.value.color
|
||||
iconElement.value.style.color = customization.value.color ?? ''
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,6 +64,7 @@ onUnmounted(() => {
|
||||
|
||||
const expandedKeys = inject(InjectKeyExpandedKeys)
|
||||
const handleItemDrop = (node: RenderedTreeExplorerNode) => {
|
||||
if (!expandedKeys) return
|
||||
expandedKeys.value[node.key] = true
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user