mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 00:55:25 +00:00
fix: keybind structuredClone only working the first time (#6691)
This commit is contained in:
@@ -25,7 +25,7 @@ const props = defineProps<{
|
||||
}>()
|
||||
|
||||
const keybinding = useTemplateRef('keybinding')
|
||||
const definitions = ref(structuredClone(props.definitions))
|
||||
const definitions = ref(JSON.parse(JSON.stringify(props.definitions)))
|
||||
const editing = ref(-1)
|
||||
|
||||
function startEditing(index: number) {
|
||||
|
||||
Reference in New Issue
Block a user