|
|
@ -46599,6 +46599,10 @@ module.exports = { |
|
|
|
status: 'unclaimed' |
|
|
|
}, function (response) {}); |
|
|
|
|
|
|
|
this.tweet = {}; |
|
|
|
this.show = false; |
|
|
|
}, |
|
|
|
rejectTweet: function rejectTweet() { |
|
|
|
this.tweet = {}; |
|
|
|
this.show = false; |
|
|
|
} |
|
|
@ -46657,7 +46661,8 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c |
|
|
|
"update:show": function($event) { |
|
|
|
_vm.show = $event |
|
|
|
}, |
|
|
|
"dismiss": _vm.dismissTweet |
|
|
|
"dismiss": _vm.dismissTweet, |
|
|
|
"reject": _vm.rejectTweet |
|
|
|
} |
|
|
|
})], 1)])]) |
|
|
|
},staticRenderFns: []} |
|
|
@ -46815,6 +46820,9 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c |
|
|
|
staticClass: "btn btn-danger", |
|
|
|
attrs: { |
|
|
|
"type": "button" |
|
|
|
}, |
|
|
|
on: { |
|
|
|
"click": _vm.rejectTweet |
|
|
|
} |
|
|
|
}, [_vm._v("Reject")])])]), _vm._v(" "), _c('div', { |
|
|
|
staticClass: "col-md-4" |
|
|
@ -47271,14 +47279,25 @@ module.exports = { |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
dismiss: function dismiss() { |
|
|
|
this.$emit('dismiss'); |
|
|
|
clearState: function clearState() { |
|
|
|
this.selectedDocument = false; |
|
|
|
this.selectedTransitCenter = false; |
|
|
|
this.selectedTransitLine = false; |
|
|
|
this.selectedNonTrimetLine = ''; |
|
|
|
this.selectedPhotoHasAnotherTeam = false; |
|
|
|
this.replyText = ''; |
|
|
|
}, |
|
|
|
dismiss: function dismiss() { |
|
|
|
this.clearState(); |
|
|
|
this.$emit('dismiss'); |
|
|
|
}, |
|
|
|
rejectTweet: function rejectTweet() { |
|
|
|
$.post("/dashboard/reject-tweet", { |
|
|
|
tweet_id: this.tweet.tweet_id |
|
|
|
}, function () { |
|
|
|
this.clearState(); |
|
|
|
this.$emit('reject'); |
|
|
|
}.bind(this)); |
|
|
|
} |
|
|
|
}, |
|
|
|
watch: { |
|
|
|