|
|
@ -656,7 +656,6 @@
|
|
|
|
let data = res.data;
|
|
|
|
let data = res.data;
|
|
|
|
let self = this;
|
|
|
|
let self = this;
|
|
|
|
data.forEach((d, index) => {
|
|
|
|
data.forEach((d, index) => {
|
|
|
|
console.log(index);
|
|
|
|
|
|
|
|
if(self.ids.indexOf(d.id) == -1) {
|
|
|
|
if(self.ids.indexOf(d.id) == -1) {
|
|
|
|
self.feed.push(d);
|
|
|
|
self.feed.push(d);
|
|
|
|
self.ids.push(d.id);
|
|
|
|
self.ids.push(d.id);
|
|
|
@ -863,7 +862,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
moderatePost(status, action, $event) {
|
|
|
|
moderatePost(status, action, $event) {
|
|
|
|
let username = status.account.username;
|
|
|
|
let username = status.account.username;
|
|
|
|
console.log('action: ' + action + ' status id' + status.id);
|
|
|
|
|
|
|
|
switch(action) {
|
|
|
|
switch(action) {
|
|
|
|
case 'autocw':
|
|
|
|
case 'autocw':
|
|
|
|
let msg = 'Are you sure you want to enforce CW for ' + username + ' ?';
|
|
|
|
let msg = 'Are you sure you want to enforce CW for ' + username + ' ?';
|
|
|
|