Added new button to save request modal (#3976)
Co-authored-by: Dmitry Mukovkin <d.mukovkin@cft.ru> Co-authored-by: Nivedin <53208152+nivedin@users.noreply.github.com>
This commit is contained in:
@@ -64,13 +64,6 @@
|
|||||||
@submit="renameReqName"
|
@submit="renameReqName"
|
||||||
@hide-modal="showRenamingReqNameModal = false"
|
@hide-modal="showRenamingReqNameModal = false"
|
||||||
/>
|
/>
|
||||||
<HoppSmartConfirmModal
|
|
||||||
:show="confirmingCloseForTabID !== null"
|
|
||||||
:confirm="t('modal.close_unsaved_tab')"
|
|
||||||
:title="t('confirm.save_unsaved_tab')"
|
|
||||||
@hide-modal="onCloseConfirmSaveTab"
|
|
||||||
@resolve="onResolveConfirmSaveTab"
|
|
||||||
/>
|
|
||||||
<HoppSmartConfirmModal
|
<HoppSmartConfirmModal
|
||||||
:show="confirmingCloseAllTabs"
|
:show="confirmingCloseAllTabs"
|
||||||
:confirm="t('modal.close_unsaved_tab')"
|
:confirm="t('modal.close_unsaved_tab')"
|
||||||
@@ -78,6 +71,36 @@
|
|||||||
@hide-modal="confirmingCloseAllTabs = false"
|
@hide-modal="confirmingCloseAllTabs = false"
|
||||||
@resolve="onResolveConfirmCloseAllTabs"
|
@resolve="onResolveConfirmCloseAllTabs"
|
||||||
/>
|
/>
|
||||||
|
<HoppSmartModal
|
||||||
|
v-if="confirmingCloseForTabID !== null"
|
||||||
|
dialog
|
||||||
|
role="dialog"
|
||||||
|
aria-modal="true"
|
||||||
|
:title="t('modal.close_unsaved_tab')"
|
||||||
|
@close="confirmingCloseForTabID = null"
|
||||||
|
>
|
||||||
|
<template #body>
|
||||||
|
<div class="text-center">
|
||||||
|
{{ t("confirm.save_unsaved_tab") }}
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<template #footer>
|
||||||
|
<span class="flex space-x-2">
|
||||||
|
<HoppButtonPrimary
|
||||||
|
v-focus
|
||||||
|
:label="t?.('action.yes')"
|
||||||
|
outline
|
||||||
|
@click="onResolveConfirmSaveTab"
|
||||||
|
/>
|
||||||
|
<HoppButtonSecondary
|
||||||
|
:label="t?.('action.no')"
|
||||||
|
filled
|
||||||
|
outline
|
||||||
|
@click="onCloseConfirmSaveTab"
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</HoppSmartModal>
|
||||||
<CollectionsSaveRequest
|
<CollectionsSaveRequest
|
||||||
v-if="savingRequest"
|
v-if="savingRequest"
|
||||||
mode="rest"
|
mode="rest"
|
||||||
|
|||||||
Reference in New Issue
Block a user