mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
oops
This commit is contained in:
parent
7d20925009
commit
594dc86c40
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue