aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src
diff options
context:
space:
mode:
Diffstat (limited to 'src-vue/src')
-rw-r--r--src-vue/src/plugins/modules/pull_requests.ts3
-rw-r--r--src-vue/src/plugins/store.ts2
-rw-r--r--src-vue/src/utils/ui.ts3
3 files changed, 5 insertions, 3 deletions
diff --git a/src-vue/src/plugins/modules/pull_requests.ts b/src-vue/src/plugins/modules/pull_requests.ts
index 4caec0b0..f3802cec 100644
--- a/src-vue/src/plugins/modules/pull_requests.ts
+++ b/src-vue/src/plugins/modules/pull_requests.ts
@@ -1,8 +1,9 @@
-import { invoke, shell } from "@tauri-apps/api";
+import { invoke, } from "@tauri-apps/api";
import { PullsApiResponseElement } from "../../../../src-tauri/bindings/PullsApiResponseElement";
import { PullRequestType } from '../../../../src-tauri/bindings/PullRequestType';
import { store } from "../store";
import { showErrorNotification, showNotification } from "../../utils/ui";
+import shell from "@tauri-apps/plugin-shell"
interface PullRequestStoreState {
searchValue: string,
diff --git a/src-vue/src/plugins/store.ts b/src-vue/src/plugins/store.ts
index b61ac573..f3948432 100644
--- a/src-vue/src/plugins/store.ts
+++ b/src-vue/src/plugins/store.ts
@@ -9,7 +9,7 @@ import { FlightCoreVersion } from "../../../src-tauri/bindings/FlightCoreVersion
import { NotificationHandle } from 'element-plus';
import { NorthstarState } from '../utils/NorthstarState';
import { appDir } from '@tauri-apps/api/path';
-import { open } from '@tauri-apps/api/dialog';
+import { open } from '@tauri-apps/plugin-dialog';
import { Store } from 'tauri-plugin-store-api';
import { router } from "../main";
import { ReleaseInfo } from "../../../src-tauri/bindings/ReleaseInfo";
diff --git a/src-vue/src/utils/ui.ts b/src-vue/src/utils/ui.ts
index f5183bcc..56f8cfc3 100644
--- a/src-vue/src/utils/ui.ts
+++ b/src-vue/src/utils/ui.ts
@@ -1,7 +1,8 @@
import { ElNotification, NotificationHandle } from "element-plus";
-import { appWindow, UserAttentionType } from '@tauri-apps/api/window';
+import { getCurrentWebviewWindow, UserAttentionType } from '@tauri-apps/api/webviewWindow';
import { i18n } from "../main";
import { store } from "../plugins/store";
+const appWindow = getCurrentWebviewWindow()
/**
* Displays content to the user in the form of a notification appearing on screen bottom right.