web/satellite: make inactivity modal appear on top of other modals
This change makes sure that inactivity modal appears on top of everything else including other modals. If it is the last element of main dashboard wrapper then it will be the last element in DOM tree which makes it appear on top of everything. Issue: https://github.com/storj/storj/issues/5549 Change-Id: Ibb0c6e2036c0be09aae17118f672dbed4ffc5b62
This commit is contained in:
parent
20bcdeb8b1
commit
17ec326fd4
@ -69,13 +69,6 @@
|
|||||||
<div v-if="debugTimerShown && !isLoading" class="dashboard__debug-timer">
|
<div v-if="debugTimerShown && !isLoading" class="dashboard__debug-timer">
|
||||||
<p>Remaining session time: <b class="dashboard__debug-timer__bold">{{ debugTimerText }}</b></p>
|
<p>Remaining session time: <b class="dashboard__debug-timer__bold">{{ debugTimerText }}</b></p>
|
||||||
</div>
|
</div>
|
||||||
<InactivityModal
|
|
||||||
v-if="inactivityModalShown"
|
|
||||||
:on-continue="refreshSession"
|
|
||||||
:on-logout="handleInactive"
|
|
||||||
:on-close="closeInactivityModal"
|
|
||||||
:initial-seconds="inactivityModalTime / 1000"
|
|
||||||
/>
|
|
||||||
<limit-warning-modal
|
<limit-warning-modal
|
||||||
v-if="isHundredLimitModalShown && !isLoading"
|
v-if="isHundredLimitModalShown && !isLoading"
|
||||||
severity="critical"
|
severity="critical"
|
||||||
@ -93,6 +86,14 @@
|
|||||||
:on-upgrade="togglePMModal"
|
:on-upgrade="togglePMModal"
|
||||||
/>
|
/>
|
||||||
<AllModals />
|
<AllModals />
|
||||||
|
<!-- IMPORTANT! Make sure this modal is positioned as the last element here so that it is shown on top of everything else -->
|
||||||
|
<InactivityModal
|
||||||
|
v-if="inactivityModalShown"
|
||||||
|
:on-continue="refreshSession"
|
||||||
|
:on-logout="handleInactive"
|
||||||
|
:on-close="closeInactivityModal"
|
||||||
|
:initial-seconds="inactivityModalTime / 1000"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user