3.0 Beta 4
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<main [class.mobile]="breakpoint() == 'mobile'">
|
||||
@defer (when store) {
|
||||
<navbar backButtonDest="/chat">
|
||||
<div class="items-left">
|
||||
<div class="data">
|
||||
<oimg [src]="store.chatData().pfp" height="50px" width="50px" [radius]="15"></oimg>
|
||||
<div class="chat-data">
|
||||
@if (store.chatData().displayName == "") {
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
main {
|
||||
height: 95svh;
|
||||
height: 98svh;
|
||||
display: grid;
|
||||
grid-template-rows: 70px minmax(0, 1fr) auto;
|
||||
padding: 15px;
|
||||
|
||||
&.mobile {
|
||||
height: 100svh;
|
||||
|
||||
@@ -163,8 +163,7 @@ export class Dm implements OnInit {
|
||||
const chatData = this.serviceManager.chats().find(c => c.chatid === chatid);
|
||||
|
||||
if (!session || !chatData) {
|
||||
console.warn(`Initialization deferred for ${chatid}: Session or ChatData missing.`);
|
||||
return;
|
||||
return
|
||||
}
|
||||
|
||||
if (!this.serviceManager.dmServices()[chatid]) {
|
||||
|
||||
Reference in New Issue
Block a user