Skip to content

Commit 7222cb7

Browse files
committed
Fix a refactoring issue
1 parent 2444368 commit 7222cb7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ts/WoltLabSuite/Core/Ui/Moderation/MarkAllAsRead.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
*/
99

1010
import { showDefaultSuccessSnackbar } from "WoltLabSuite/Core/Component/Snackbar";
11-
import { markAllModerationQueuesAsRead as apiMarkAllAsRead } from "WoltLabSuite/Core/Api/ModerationQueues/MarkAllAsRead";
11+
import { markAllModerationQueuesAsRead } from "WoltLabSuite/Core/Api/ModerationQueues/MarkAllModerationQueuesAsRead";
1212

1313
async function markAllAsRead(): Promise<void> {
14-
(await apiMarkAllAsRead()).unwrap();
14+
(await markAllModerationQueuesAsRead()).unwrap();
1515

1616
const gridViewTable = document.getElementById("wcf-system-gridView-user-ModerationQueueGridView_table")!;
1717
gridViewTable.dispatchEvent(new CustomEvent("interaction:invalidate-all"));

wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Moderation/MarkAllAsRead.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)