File tree Expand file tree Collapse file tree
pages/workspace/[id]/export Expand file tree Collapse file tree Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff line change 7777<script setup lang="ts">
7878import { osmClient , tdeiClient , workspacesClient } from ' ~/services/index'
7979import { TdeiExporter , TdeiExporterContext } from ' ~/services/export/tdei'
80+ import { toast } from ' vue3-toastify' ;
81+ import ' vue3-toastify/dist/index.css' ;
8082
8183const context = reactive (new TdeiExporterContext ());
8284const 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}
You can’t perform that action at this time.
0 commit comments