mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-08-21 17:04:08 +02:00
No real changes, just renames
This commit is contained in:
parent
4704b2a0e4
commit
2e8292a65f
10 changed files with 31 additions and 35 deletions
web/src/components
|
@ -13,7 +13,7 @@ import session from "../app/Session";
|
|||
import logo from "../img/ntfy.svg";
|
||||
import subscriptionManager from "../app/SubscriptionManager";
|
||||
import routes from "./routes";
|
||||
import getDb from "../app/getDb";
|
||||
import db from "../app/db";
|
||||
import { topicDisplayName } from "../app/utils";
|
||||
import Navigation from "./Navigation";
|
||||
import accountApi from "../app/AccountApi";
|
||||
|
@ -121,7 +121,7 @@ const ProfileIcon = () => {
|
|||
const handleLogout = async () => {
|
||||
try {
|
||||
await accountApi.logout();
|
||||
await getDb().delete();
|
||||
await db().delete();
|
||||
} finally {
|
||||
session.resetAndRedirect(routes.app);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue