1
0
mirror of synced 2026-08-05 22:56:55 +00:00

FEATURE: Add quick access button to user profile dropdown (#130)

This commit is contained in:
Blake Erickson
2022-08-10 13:05:54 +01:00
committed by GitHub
parent e48b817e8e
commit a78b92ddcc
@@ -15,6 +15,15 @@ export default {
href: "/s",
});
}
const user = api.getCurrentUser();
if (user) {
api.addQuickAccessProfileItem({
icon: "far-credit-card",
href: `/u/${user.username}/billing/subscriptions`,
content: "Billing",
});
}
});
},
};