mirror of
https://github.com/NoCrypt/migu.git
synced 2026-03-31 06:48:35 +00:00
fix: reload on removed relations
This commit is contained in:
parent
2e91889559
commit
f2bc177608
2 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Miru",
|
||||
"version": "1.2.3",
|
||||
"version": "1.2.4",
|
||||
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
|
||||
"main": "src/index.js",
|
||||
"homepage": "https://github.com/ThaUnknown/miru#readme",
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
export let set = JSON.parse(localStorage.getItem('settings')) || { ...defaults }
|
||||
function removeRelations() {
|
||||
localStorage.removeItem('relations')
|
||||
location.reload()
|
||||
}
|
||||
window.IPC.on('path', data => {
|
||||
set.torrentPath = data
|
||||
|
|
|
|||
Loading…
Reference in a new issue