Update navbar, add avatar
This commit is contained in:
parent
88fc867c07
commit
19abf1b4dc
15 changed files with 46 additions and 1 deletions
|
@ -130,6 +130,10 @@ export default {
|
|||
|
||||
methods: {
|
||||
fetchNotifications() {
|
||||
axios.get('/api/pixelfed/v1/accounts/verify_credentials').then(res => {
|
||||
window._sharedData.curUser = res.data;
|
||||
window.App.util.navatar();
|
||||
});
|
||||
axios.get('/api/pixelfed/v1/notifications', {
|
||||
params: {
|
||||
pg: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue