Compare commits
No commits in common. "a3cb1247af92abb4ed0713d676599948514bf18c" and "3f974b2dff4bef2c553d9ce1708ec4130aa19342" have entirely different histories.
a3cb1247af
...
3f974b2dff
|
|
@ -86,13 +86,6 @@ export class ChatService implements OnDestroy {
|
||||||
|
|
||||||
public selectServer(server: string) {
|
public selectServer(server: string) {
|
||||||
this._selectedServer.set(server);
|
this._selectedServer.set(server);
|
||||||
this._servers.update((old) =>
|
|
||||||
old.map((chatServer) =>
|
|
||||||
chatServer.server === server
|
|
||||||
? {...chatServer, unreadMessages: 0}
|
|
||||||
: chatServer
|
|
||||||
)
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// single, deliberate escape hatch from the broken DOM/polyfill type overlap —
|
// single, deliberate escape hatch from the broken DOM/polyfill type overlap —
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user