Replace state regardless of if item exists
This commit is contained in:
parent
9bce86eacb
commit
19fa40a70b
@ -186,6 +186,8 @@ export default function () {
|
|||||||
["appeal", "gma", "inactivity", "report"].includes(itemType) &&
|
["appeal", "gma", "inactivity", "report"].includes(itemType) &&
|
||||||
jump_item_to_top
|
jump_item_to_top
|
||||||
) {
|
) {
|
||||||
|
history.replaceState(null, "", location.origin + location.pathname);
|
||||||
|
|
||||||
const specifiedItem = entryData.find((e) => e.id === itemId);
|
const specifiedItem = entryData.find((e) => e.id === itemId);
|
||||||
|
|
||||||
if (specifiedItem) {
|
if (specifiedItem) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user