frontend: cleanup stores exports
This commit is contained in:
parent
8539e4ab7c
commit
92ce055dd7
1 changed files with 4 additions and 5 deletions
|
@ -34,11 +34,6 @@ class Store {
|
|||
}
|
||||
}
|
||||
|
||||
export const selectedChannel = new Store({ id: -1, name: "none", creator_id: -1 });
|
||||
export const showSidebar = new Store(false);
|
||||
export const showChannelView = new Store(true);
|
||||
export const smallViewport = new Store(false);
|
||||
|
||||
class ChannelsStore extends Store {
|
||||
constructor() {
|
||||
super(gateway.channels || []);
|
||||
|
@ -290,6 +285,10 @@ class OverlayStore extends Store {
|
|||
}
|
||||
}
|
||||
|
||||
export const selectedChannel = new Store({ id: -1, name: "none", creator_id: -1 });
|
||||
export const showSidebar = new Store(false);
|
||||
export const showChannelView = new Store(true);
|
||||
export const smallViewport = new Store(false);
|
||||
export const channels = new ChannelsStore();
|
||||
export const gatewayStatus = new GatewayStatusStore();
|
||||
export const messagesStoreProvider = new MessagesStoreProvider();
|
||||
|
|
Loading…
Reference in a new issue