Merge pull request #5459 from vvlladd28/bug/show-toast/fullscreen-dashboard

[3.3.2] UI: Fixed display toast in fullscreen dashboard mode
This commit is contained in:
Igor Kulikov 2021-11-03 16:24:46 +02:00 committed by GitHub
commit b2d1f01eee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
--> -->
<div class="tb-dashboard-page mat-content" [ngClass]="{'mobile-app': isMobileApp && !isEdit}" tb-toast toastTarget="dashboardRoot" <div class="tb-dashboard-page mat-content" [ngClass]="{'mobile-app': isMobileApp && !isEdit}"
fxFlex tb-fullscreen [fullscreen]="widgetEditMode || iframeMode || forceFullscreen || isFullscreen"> fxFlex tb-fullscreen [fullscreen]="widgetEditMode || iframeMode || forceFullscreen || isFullscreen">
<tb-hotkeys-cheatsheet #cheatSheetComponent></tb-hotkeys-cheatsheet> <tb-hotkeys-cheatsheet #cheatSheetComponent></tb-hotkeys-cheatsheet>
<section class="tb-dashboard-toolbar" <section class="tb-dashboard-toolbar"
@ -139,6 +139,7 @@
</tb-dashboard-toolbar> </tb-dashboard-toolbar>
</section> </section>
<section class="tb-dashboard-container tb-absolute-fill" <section class="tb-dashboard-container tb-absolute-fill"
tb-toast toastTarget="dashboardRoot"
#dashboardContainer #dashboardContainer
[ngClass]="{ 'is-fullscreen': forceFullscreen, [ngClass]="{ 'is-fullscreen': forceFullscreen,
'tb-dashboard-toolbar-opened': toolbarOpened, 'tb-dashboard-toolbar-opened': toolbarOpened,