mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-12 17:44:31 +00:00
Update AnnouncementsCard.vue
This commit is contained in:
parent
1091d3fa07
commit
1917350755
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ export default {
|
||||||
let self = this;
|
let self = this;
|
||||||
let key = 'metro-tips-closed';
|
let key = 'metro-tips-closed';
|
||||||
let cached = JSON.parse(window.localStorage.getItem(key));
|
let cached = JSON.parse(window.localStorage.getItem(key));
|
||||||
axios.get('/api/v1/pixelfed/newsroom/timeline')
|
axios.get('/api/pixelfed/v1/newsroom/timeline')
|
||||||
.then(res => {
|
.then(res => {
|
||||||
self.announcements = res.data.filter(p => {
|
self.announcements = res.data.filter(p => {
|
||||||
if(cached) {
|
if(cached) {
|
||||||
|
|
Loading…
Reference in a new issue