Compare commits

...
Author SHA1 Message Date
ProspectorandGitHub 97b994f645 Merge branch 'main' into chyz/misused-slug-quick-fix-patch 2026-07-21 11:33:11 -07:00
chyzman bb7563f0ea temporary fix for misused slug 2026-07-21 12:58:14 -04:00
@@ -326,9 +326,12 @@ export default function () {
}))(state)
})
.fix(
//TODO chyz think of some way to have initial values actually be reflected in state without having to store them
fix().project((patch, state) => {
const slug = state['correct-slug'] as string
if (!slug) return
const slug =
(state['correct-slug'] as string | undefined) ??
resolvedAutoSlug.value
if (!slug || slug === project.value.slug) return
patch.slug = slug
}),
),