Skip to content

Commit 068c8bf

Browse files
committed
Fix for 1832
1 parent 7cadced commit 068c8bf

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

pages/workspace/[id]/export/index.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ async function exportTdei() {
9898
9999
exporting.wrap(workspacesClient, async (client) => {
100100
const jobId = await client.exportWorkspaceToTdei(workspace, metadata);
101-
alert(`TDEI import job ${jobId} created sucessfully.`);
101+
102+
toast.info(`TDEI import job ${jobId} created sucessfully.`);
102103
navigateTo('/dashboard');
103104
});
104105
}

pages/workspace/[id]/export/tdei.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@
7777
<script setup lang="ts">
7878
import { osmClient, tdeiClient, workspacesClient } from '~/services/index'
7979
import { TdeiExporter, TdeiExporterContext } from '~/services/export/tdei'
80+
import { toast } from 'vue3-toastify';
81+
import 'vue3-toastify/dist/index.css';
8082
8183
const context = reactive(new TdeiExporterContext());
8284
const exporter = new TdeiExporter(tdeiClient, osmClient, context);
@@ -107,7 +109,7 @@ async function upload() {
107109
108110
if (jobId) {
109111
// TODO: show a more helpful message
110-
alert(`TDEI import job ${jobId} created sucessfully.`);
112+
toast.info(`TDEI import job ${jobId} created sucessfully.`);
111113
navigateTo('/dashboard');
112114
}
113115
}

0 commit comments

Comments
 (0)