mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2026-01-07 00:36:08 +08:00
Move modals logic to open_locally.js [SCI-10010]
This commit is contained in:
parent
cc4fa19bc1
commit
78f3456da0
2 changed files with 9 additions and 15 deletions
|
|
@ -1,8 +1,8 @@
|
|||
import axios from '../../../../../packs/custom_axios.js';
|
||||
import { satisfies } from 'compare-versions';
|
||||
// import editLaunchingApplicationModal from '../../modal/edit_launching_application_modal.vue';
|
||||
// import NoPredefinedAppModal from '../../modal/no_predefined_app_modal.vue';
|
||||
// import UpdateVersionModal from '../../modal/update_version_modal.vue';
|
||||
import editLaunchingApplicationModal from '../../modal/edit_launching_application_modal.vue';
|
||||
import NoPredefinedAppModal from '../../modal/no_predefined_app_modal.vue';
|
||||
import UpdateVersionModal from '../../modal/update_version_modal.vue';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
|
|
@ -15,11 +15,11 @@ export default {
|
|||
editAppModal: false
|
||||
};
|
||||
},
|
||||
// components: {
|
||||
// editLaunchingApplicationModal,
|
||||
// NoPredefinedAppModal,
|
||||
// UpdateVersionModal
|
||||
// },
|
||||
components: {
|
||||
editLaunchingApplicationModal,
|
||||
NoPredefinedAppModal,
|
||||
UpdateVersionModal
|
||||
},
|
||||
computed: {
|
||||
attributes() {
|
||||
return this.attachment.attributes;
|
||||
|
|
|
|||
|
|
@ -171,8 +171,6 @@ import ContextMenu from './context_menu.vue';
|
|||
import deleteAttachmentModal from './delete_modal.vue';
|
||||
import MenuDropdown from '../../../shared/menu_dropdown.vue';
|
||||
import MoveAssetModal from '../modal/move.vue';
|
||||
import NoPredefinedAppModal from '../modal/no_predefined_app_modal.vue';
|
||||
import UpdateVersionModal from '../modal/update_version_modal.vue';
|
||||
import MoveMixin from './mixins/move.js';
|
||||
import OpenLocallyMixin from './mixins/open_locally.js';
|
||||
import { vOnClickOutside } from '@vueuse/components';
|
||||
|
|
@ -184,8 +182,6 @@ export default {
|
|||
ContextMenu,
|
||||
deleteAttachmentModal,
|
||||
MoveAssetModal,
|
||||
NoPredefinedAppModal,
|
||||
UpdateVersionModal,
|
||||
MenuDropdown
|
||||
},
|
||||
props: {
|
||||
|
|
@ -202,9 +198,7 @@ export default {
|
|||
return {
|
||||
showOptions: false,
|
||||
deleteModal: false,
|
||||
isMenuOpen: false,
|
||||
showNoPredefinedAppModal: false,
|
||||
showUpdateVersionModal: false
|
||||
isMenuOpen: false
|
||||
};
|
||||
},
|
||||
directives: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue