fetch_status: Convert FetchStatus to an ES6 class.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-07-22 16:30:13 -07:00
committed by Tim Abbott
parent a1796325de
commit 9d90ae0e69
3 changed files with 57 additions and 58 deletions

View File

@@ -19,7 +19,7 @@ class MessageListData {
}
this.filter = filter;
this.fetch_status = FetchStatus();
this.fetch_status = new FetchStatus();
}
all_messages() {