oops
This commit is contained in:
parent
7d20925009
commit
594dc86c40
|
@ -75,7 +75,6 @@ const TopicTrackingState = Discourse.Model.extend({
|
||||||
|
|
||||||
this.messageBus.subscribe("/delete", msg => {
|
this.messageBus.subscribe("/delete", msg => {
|
||||||
const old = tracker.states["t" + msg.topic_id];
|
const old = tracker.states["t" + msg.topic_id];
|
||||||
debugger
|
|
||||||
if (old) {
|
if (old) {
|
||||||
old.deleted = true;
|
old.deleted = true;
|
||||||
}
|
}
|
||||||
|
@ -84,7 +83,6 @@ const TopicTrackingState = Discourse.Model.extend({
|
||||||
|
|
||||||
this.messageBus.subscribe("/recover", msg => {
|
this.messageBus.subscribe("/recover", msg => {
|
||||||
const old = tracker.states["t" + msg.topic_id];
|
const old = tracker.states["t" + msg.topic_id];
|
||||||
debugger
|
|
||||||
if (old) {
|
if (old) {
|
||||||
delete old.deleted;
|
delete old.deleted;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue