Page MenuHomePhorge

No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
diff --git a/src/components/confirm_modal/text_confirm.js b/src/components/confirm_modal/text_confirm.js
deleted file mode 100644
index b27bd78f0f..0000000000
--- a/src/components/confirm_modal/text_confirm.js
+++ /dev/null
@@ -1,41 +0,0 @@
-import ConfirmModal from './confirm_modal.vue'
-//import Select from 'src/components/select/select.vue'
-
-export default {
- props: {
- title: {
- type: String,
- },
- message: {
- type: String,
- },
- cancelText: {
- type: String,
- },
- confirmText: {
- type: String,
- },
- },
- emits: ['hide', 'show', 'action'],
- data: () => ({
- showing: false,
- text: '',
- }),
- components: {
- ConfirmModal,
- },
- methods: {
- show() {
- this.showing = true
- this.$emit('show')
- },
- hide() {
- this.showing = false
- this.$emit('hide')
- },
- doWithText() {
- this.$emit('action', this.text)
- this.hide()
- },
- },
-}
diff --git a/src/components/confirm_modal/text_confirm.vue b/src/components/confirm_modal/text_confirm.vue
deleted file mode 100644
index b4770c686c..0000000000
--- a/src/components/confirm_modal/text_confirm.vue
+++ /dev/null
@@ -1,27 +0,0 @@
-<template>
- <ConfirmModal
- v-if="showing"
- :title="title"
- :cancel-text="cancelText"
- :confirm-text="confirmText"
- @accepted="doWithText"
- @cancelled="hide"
- >
- <template #default>
- <span v-text="message" />
- <input
- v-model="text"
- class="input string-input filter-input"
- >
- </template>
- </ConfirmModal>
-</template>
-
-<script src="./text_confirm.js" />
-
-<style lang="scss">
-.expiry-amount {
- width: 4em;
- text-align: right;
-}
-</style>

File Metadata

Mime Type
text/x-diff
Expires
Wed, Nov 18, 8:35 PM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1840706
Default Alt Text
(1 KB)

Event Timeline