mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-08 16:07:50 +02:00
Fix js get and close store
This commit is contained in:
@@ -276,6 +276,11 @@ export class Store extends Resource implements IStore {
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
async close(): Promise<void> {
|
||||
// The default close on `Resource` can only close resources in the webview's resource table
|
||||
await invoke('plugin:store|close_store', { rid: this.rid })
|
||||
}
|
||||
}
|
||||
|
||||
interface IStore {
|
||||
|
||||
Reference in New Issue
Block a user