|
@@ -241,7 +241,7 @@ export const useMainStore = defineStore("MainStoreId", {
|
|
|
const response = (
|
|
|
await Promise.all([
|
|
|
api.uploadPlot(mainStore.token, title, file),
|
|
|
- await new Promise<void>((resolve, _) => setTimeout(() => resolve(), 500)),
|
|
|
+ await new Promise<void>((resolve, _) => setTimeout(() => resolve(), 0)),
|
|
|
])
|
|
|
);
|
|
|
mainStore.removeNotification(loadingNotification);
|
|
@@ -249,6 +249,7 @@ export const useMainStore = defineStore("MainStoreId", {
|
|
|
content: i18n.global.t("fileReceived"),
|
|
|
color: "success",
|
|
|
})
|
|
|
+ this.actionGetVideos();
|
|
|
} catch (error) {
|
|
|
await mainStore.checkApiError(error);
|
|
|
}
|