refactor(editor): Migrate ui.store to use composition API (no-changelog) (#9892)

This commit is contained in:
Ricardo Espinoza
2024-07-03 15:11:40 -04:00
committed by GitHub
parent 22990342df
commit f64ca621e1
42 changed files with 710 additions and 649 deletions

View File

@@ -66,7 +66,7 @@ const { importCurlCommand } = useImportCurlCommand({
});
onMounted(() => {
curlCommand.value = (uiStore.getModalData(IMPORT_CURL_MODAL_KEY)?.curlCommand as string) ?? '';
curlCommand.value = (uiStore.modalsById[IMPORT_CURL_MODAL_KEY].data?.curlCommand as string) ?? '';
setTimeout(() => {
inputRef.value?.focus();