Skip to content

Commit 9dd5c7d

Browse files
intercome button: put back to desktop version and move to side menu for mobile version
1 parent ca0ef3d commit 9dd5c7d

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

frontend/src/app/app.component.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@
4848
</mat-icon>
4949
<div matListItemTitle>Zapier</div>
5050
</a>
51+
<button type="button" mat-menu-item (click)="openSupportChat()"
52+
data-testid="support-chat-button-account-menu">
53+
<mat-icon fontSet="material-symbols-outlined">chat_bubble</mat-icon>
54+
<span>Chat with support</span>
55+
</button>
5156
<a mat-list-item href="https://docs.rocketadmin.com/" target="_blank">
5257
<mat-icon matListItemIcon class="connection-navigation__icon" fontSet="material-symbols-outlined">help</mat-icon>
5358
<div matListItemTitle>Help center</div>
@@ -195,11 +200,6 @@
195200
</mat-icon>
196201
<span>Zapier</span>
197202
</a>
198-
<button type="button" mat-menu-item (click)="openSupportChat()"
199-
data-testid="support-chat-button-account-menu">
200-
<mat-icon fontSet="material-symbols-outlined">chat_bubble</mat-icon>
201-
<span>Chat with support</span>
202-
</button>
203203
<a mat-menu-item href="https://docs.rocketadmin.com/" target="_blank">
204204
<mat-icon fontSet="material-symbols-outlined">help</mat-icon>
205205
<span>Help center</span>

frontend/src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ export class AppComponent {
304304
user_hash: res.intercom_hash,
305305
user_id: res.id,
306306
email: res.email,
307-
hide_default_launcher: true,
307+
hide_default_launcher: window.innerWidth > 600,
308308
});
309309

310310
if (this.isDemo)

0 commit comments

Comments
 (0)