mirror of
https://github.com/Nystik-gh/ignis.git
synced 2026-06-17 04:35:53 +00:00
ask user to install bridge plugin for vault copied to server at runtime
This commit is contained in:
@@ -48,6 +48,8 @@ export const vaultService = {
|
||||
body: JSON.stringify({ name }),
|
||||
});
|
||||
|
||||
this._setVaultTrust(name);
|
||||
|
||||
return this.listVaults();
|
||||
},
|
||||
|
||||
@@ -121,6 +123,10 @@ export const vaultService = {
|
||||
target.location.href = "/?vault=" + encodeURIComponent(id);
|
||||
},
|
||||
|
||||
_setVaultTrust(vaultId, trusted = true) {
|
||||
localStorage.setItem("enable-plugin-" + vaultId, String(trusted));
|
||||
},
|
||||
|
||||
_migrateLocalStorage(oldId, newId) {
|
||||
const pluginKey = "enable-plugin-";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user