Skip to content

Commit

Permalink
Fixed QA issue
Browse files Browse the repository at this point in the history
  • Loading branch information
elsoazemelet committed Jun 11, 2024
1 parent 9b67ccc commit 4e2b415
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/renderer/main/panels/profileCloud/ProfileCloud.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@
channelMessageWrapper(event, handleSendLogMessage);
break;
case "openExternalLink":
console.log("asd");
channelMessageWrapper(event, handleOpenExternalLink);
break;
}
Expand Down
9 changes: 8 additions & 1 deletion src/renderer/preload-window-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ if (import.meta.env.VITE_WEB_MODE == "true") {
restore: () => {},
isMaximized: () => {},
},
clipboard: {
writeText: () => {
return new Promise((resolve, reject) => {
reject("This feature is not yet supported in web mode.");
});
},
},
persistentStorage: {
set: () => {},
get: async () => {
Expand All @@ -81,7 +88,7 @@ if (import.meta.env.VITE_WEB_MODE == "true") {
onSendConfigsToRenderer: async () => {},
saveConfig: () => {
return new Promise((resolve, reject) => {
reject("Profile importing is not supported in web mode.");
reject("This feature is not yet supported in web mode.");
});
},
},
Expand Down

0 comments on commit 4e2b415

Please sign in to comment.