FEATURE: Add quick access button to user profile dropdown (#130)
This commit is contained in:
parent
e48b817e8e
commit
a78b92ddcc
|
@ -15,6 +15,15 @@ export default {
|
||||||
href: "/s",
|
href: "/s",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const user = api.getCurrentUser();
|
||||||
|
if (user) {
|
||||||
|
api.addQuickAccessProfileItem({
|
||||||
|
icon: "far-credit-card",
|
||||||
|
href: `/u/${user.username}/billing/subscriptions`,
|
||||||
|
content: "Billing",
|
||||||
|
});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue