refresh tables on multi-delete
All checks were successful
Build and Push Docker Image / build (push) Successful in 17s
All checks were successful
Build and Push Docker Image / build (push) Successful in 17s
This commit is contained in:
parent
bbc497bdb9
commit
d6d7ffa7a1
@ -1,4 +1,9 @@
|
|||||||
|
|
||||||
|
**unreleased v0.3.4**
|
||||||
|
|
||||||
|
- Fix: Refresh data tables after deleting any number of entries (corbz/PYRSS-Website#38)
|
||||||
|
-
|
||||||
|
|
||||||
**v0.3.3**
|
**v0.3.3**
|
||||||
|
|
||||||
- Enhancement: Added some refreshing new fonts (sora & atkison hyperlegible)
|
- Enhancement: Added some refreshing new fonts (sora & atkison hyperlegible)
|
||||||
|
@ -179,6 +179,11 @@ async function deleteSelectedContent() {
|
|||||||
`${arrayToHtmlList(names, false).prop("outerHTML")}`,
|
`${arrayToHtmlList(names, false).prop("outerHTML")}`,
|
||||||
12000
|
12000
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Multi-deletion can take time, this timeout ensures the refresh is accurate
|
||||||
|
setTimeout(async () => {
|
||||||
|
await loadContent(getCurrentlyActiveServer().guild_id);
|
||||||
|
}, 600);
|
||||||
},
|
},
|
||||||
null
|
null
|
||||||
);
|
);
|
||||||
|
@ -294,7 +294,10 @@ async function deleteSelectedFilters() {
|
|||||||
12000
|
12000
|
||||||
);
|
);
|
||||||
|
|
||||||
await loadFilters(getCurrentlyActiveServer().guild_id);
|
// Multi-deletion can take time, this timeout ensures the refresh is accurate
|
||||||
|
setTimeout(async () => {
|
||||||
|
await loadFilters(getCurrentlyActiveServer().guild_id);
|
||||||
|
}, 600);
|
||||||
},
|
},
|
||||||
null
|
null
|
||||||
);
|
);
|
||||||
|
@ -439,7 +439,10 @@ async function deleteSelectedSubscriptions() {
|
|||||||
12000
|
12000
|
||||||
)
|
)
|
||||||
|
|
||||||
await loadSubscriptions(getCurrentlyActiveServer().guild_id);
|
// Multi-deletion can take time, this timeout ensures the refresh is accurate
|
||||||
|
setTimeout(async () => {
|
||||||
|
await loadSubscriptions(getCurrentlyActiveServer().guild_id);
|
||||||
|
}, 600);
|
||||||
},
|
},
|
||||||
null
|
null
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user