Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85710564
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/src/components/confirm_modal/generic_confirm.js b/src/components/confirm_modal/generic_confirm.js
deleted file mode 100644
index 82bb0e54e3..0000000000
--- a/src/components/confirm_modal/generic_confirm.js
+++ /dev/null
@@ -1,40 +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,
- }),
- components: {
- ConfirmModal,
- },
- methods: {
- show() {
- this.showing = true
- this.$emit('show')
- },
- hide() {
- this.showing = false
- this.$emit('hide')
- },
- doGeneric() {
- this.$emit('action')
- this.hide()
- },
- },
-}
diff --git a/src/components/confirm_modal/generic_confirm.vue b/src/components/confirm_modal/generic_confirm.vue
deleted file mode 100644
index d223d6ea9d..0000000000
--- a/src/components/confirm_modal/generic_confirm.vue
+++ /dev/null
@@ -1,23 +0,0 @@
-<template>
- <ConfirmModal
- v-if="showing"
- :title="title"
- :cancel-text="cancelText"
- :confirm-text="confirmText"
- @accepted="doGeneric"
- @cancelled="hide"
- >
- <template #default>
- <span v-text="message" />
- </template>
- </ConfirmModal>
-</template>
-
-<script src="./generic_confirm.js" />
-
-<style lang="scss">
-.expiry-amount {
- width: 4em;
- text-align: right;
-}
-</style>
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Sep 19, 1:07 AM (18 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1768572
Default Alt Text
(1 KB)
Attached To
Mode
rPUFE pleroma-fe-upstream
Attached
Detach File
Event Timeline
Log In to Comment