Merge pull request #1331 from pixelfed/frontend-ui-refactor

Frontend ui refactor
This commit is contained in:
daniel 2019-06-03 14:58:38 -06:00 committed by GitHub
commit f2ff1c584b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 7 deletions

BIN
public/js/activity.js vendored

Binary file not shown.

Binary file not shown.

View file

@ -113,11 +113,7 @@ export default {
methods: {
fetchNotifications() {
axios.get('/api/v1/notifications', {
params: {
pg: false
}
})
axios.get('/api/v1/notifications')
.then(res => {
let data = res.data.filter(n => {
if(n.type == 'share' && !status) {
@ -140,8 +136,7 @@ export default {
}
axios.get('/api/v1/notifications', {
params: {
page: this.notificationCursor,
pg: false
page: this.notificationCursor
}
}).then(res => {
if(res.data.length > 0) {