mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-01 22:09:55 +00:00
Fix incorrect operator precedence
This commit is contained in:
@@ -207,7 +207,7 @@ export const useSubgraphNavigationStore = defineStore(
|
||||
function updateHash() {
|
||||
if (blockHashUpdate) return
|
||||
if (!routeHash.value) {
|
||||
router.replace('#' + window.location.hash.slice(1) || app.graph.id)
|
||||
router.replace('#' + (window.location.hash.slice(1) || app.graph.id))
|
||||
} else if (initialLoad) {
|
||||
initialLoad = false
|
||||
navigateToHash(routeHash.value)
|
||||
|
||||
Reference in New Issue
Block a user