rename + fix
This commit is contained in:
parent
2e78975e4c
commit
da73226cb1
4 changed files with 6 additions and 3 deletions
|
@ -3,7 +3,7 @@ import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faPen
|
faPen
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
import { usePostStatusStore } from 'src/stores/postStatus'
|
import { usePostStatusStore } from 'src/stores/post_status'
|
||||||
|
|
||||||
library.add(
|
library.add(
|
||||||
faPen
|
faPen
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import PostStatusForm from '../post_status_form/post_status_form.vue'
|
import PostStatusForm from '../post_status_form/post_status_form.vue'
|
||||||
import Modal from '../modal/modal.vue'
|
import Modal from '../modal/modal.vue'
|
||||||
import get from 'lodash/get'
|
import get from 'lodash/get'
|
||||||
import { usePostStatusStore } from 'src/stores/postStatus'
|
import { usePostStatusStore } from 'src/stores/post_status'
|
||||||
|
|
||||||
const PostStatusModal = {
|
const PostStatusModal = {
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -11,7 +11,7 @@ import RichContent from 'src/components/rich_content/rich_content.jsx'
|
||||||
import MuteConfirm from '../confirm_modal/mute_confirm.vue'
|
import MuteConfirm from '../confirm_modal/mute_confirm.vue'
|
||||||
import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'
|
import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
import { usePostStatusStore } from 'src/stores/postStatus'
|
import { usePostStatusStore } from 'src/stores/post_status'
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faBell,
|
faBell,
|
||||||
|
|
|
@ -12,6 +12,9 @@ export const usePostStatusStore = defineStore('postStatus', {
|
||||||
},
|
},
|
||||||
closePostStatusModal () {
|
closePostStatusModal () {
|
||||||
this.modalActivated = false
|
this.modalActivated = false
|
||||||
|
},
|
||||||
|
resetPostStatusModal () {
|
||||||
|
this.params = null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
Loading…
Add table
Reference in a new issue