This commit is contained in:
Philipinho
2025-06-08 19:44:15 -07:00
parent d8f6a32bb2
commit 7d7eaf07d6
2 changed files with 4 additions and 2 deletions

View File

@ -98,7 +98,7 @@ export default function EmbedView(props: NodeViewProps) {
<Text component="span" size="lg" c="dimmed"> <Text component="span" size="lg" c="dimmed">
{t("Embed {{provider}}", { {t("Embed {{provider}}", {
provider: getEmbedProviderById(provider).name, provider: getEmbedProviderById(provider)?.name,
})} })}
</Text> </Text>
</div> </div>

View File

@ -92,6 +92,8 @@ function ImportFormatSelection({ spaceId, onClose }: ImportFormatSelection) {
} }
try { try {
onClose();
notifications.show({ notifications.show({
id: "import", id: "import",
message: t("Uploading import file"), message: t("Uploading import file"),
@ -101,7 +103,7 @@ function ImportFormatSelection({ spaceId, onClose }: ImportFormatSelection) {
}); });
const importTask = await importZip(selectedFile, spaceId, source); const importTask = await importZip(selectedFile, spaceId, source);
notifications.show({ notifications.update({
id: "import", id: "import",
title: t("Importing pages"), title: t("Importing pages"),
message: t("Page import is in progress."), message: t("Page import is in progress."),