fix: tippy not disappearing on request component modals
This commit is contained in:
@@ -115,18 +115,33 @@
|
|||||||
<SmartItem
|
<SmartItem
|
||||||
:label="$t('import.curl')"
|
:label="$t('import.curl')"
|
||||||
icon="import_export"
|
icon="import_export"
|
||||||
@click.native="showCurlImportModal = !showCurlImportModal"
|
@click.native="
|
||||||
|
() => {
|
||||||
|
showCurlImportModal = !showCurlImportModal
|
||||||
|
sendOptions.tippy().hide()
|
||||||
|
}
|
||||||
|
"
|
||||||
/>
|
/>
|
||||||
<SmartItem
|
<SmartItem
|
||||||
:label="$t('show.code')"
|
:label="$t('show.code')"
|
||||||
icon="code"
|
icon="code"
|
||||||
@click.native="showCodegenModal = !showCodegenModal"
|
@click.native="
|
||||||
|
() => {
|
||||||
|
showCodegenModal = !showCodegenModal
|
||||||
|
sendOptions.tippy().hide()
|
||||||
|
}
|
||||||
|
"
|
||||||
/>
|
/>
|
||||||
<SmartItem
|
<SmartItem
|
||||||
ref="clearAll"
|
ref="clearAll"
|
||||||
:label="$t('action.clear_all')"
|
:label="$t('action.clear_all')"
|
||||||
icon="clear_all"
|
icon="clear_all"
|
||||||
@click.native="clearContent()"
|
@click.native="
|
||||||
|
() => {
|
||||||
|
clearContent()
|
||||||
|
sendOptions.tippy().hide()
|
||||||
|
}
|
||||||
|
"
|
||||||
/>
|
/>
|
||||||
</tippy>
|
</tippy>
|
||||||
</span>
|
</span>
|
||||||
@@ -165,13 +180,23 @@
|
|||||||
ref="copyRequest"
|
ref="copyRequest"
|
||||||
:label="$t('request.copy_link')"
|
:label="$t('request.copy_link')"
|
||||||
:icon="hasNavigatorShare ? 'share' : 'content_copy'"
|
:icon="hasNavigatorShare ? 'share' : 'content_copy'"
|
||||||
@click.native="copyRequest()"
|
@click.native="
|
||||||
|
() => {
|
||||||
|
copyRequest()
|
||||||
|
sendOptions.tippy().hide()
|
||||||
|
}
|
||||||
|
"
|
||||||
/>
|
/>
|
||||||
<SmartItem
|
<SmartItem
|
||||||
ref="saveRequest"
|
ref="saveRequest"
|
||||||
:label="$t('request.save_as')"
|
:label="$t('request.save_as')"
|
||||||
icon="create_new_folder"
|
icon="create_new_folder"
|
||||||
@click.native="showSaveRequestModal = true"
|
@click.native="
|
||||||
|
() => {
|
||||||
|
showSaveRequestModal = true
|
||||||
|
sendOptions.tippy().hide()
|
||||||
|
}
|
||||||
|
"
|
||||||
/>
|
/>
|
||||||
</tippy>
|
</tippy>
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user