aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
authortusooa <tusooa@kazv.moe>2022-09-11 18:08:00 +0000
committertusooa <tusooa@kazv.moe>2022-09-11 18:08:00 +0000
commit2bea5d81288dcf4e231d557b5f1ef338fc1f78f6 (patch)
tree67515a1ae88f74a88763a5e769a49ce6715ba73f /src/App.js
parentde40ebd5ea9c3a89c85d822ee719dce9b48c451a (diff)
parentee58e3868c2d58b889d8a32c1b6dfd3732df7584 (diff)
Merge branch 'add/edit-status' into 'develop'
Add edit status functionality See merge request pleroma/pleroma-fe!1537
Diffstat (limited to 'src/App.js')
-rw-r--r--src/App.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/App.js b/src/App.js
index 18dd61f2..b7eb2f72 100644
--- a/src/App.js
+++ b/src/App.js
@@ -10,7 +10,9 @@ import MobilePostStatusButton from './components/mobile_post_status_button/mobil
import MobileNav from './components/mobile_nav/mobile_nav.vue'
import DesktopNav from './components/desktop_nav/desktop_nav.vue'
import UserReportingModal from './components/user_reporting_modal/user_reporting_modal.vue'
+import EditStatusModal from './components/edit_status_modal/edit_status_modal.vue'
import PostStatusModal from './components/post_status_modal/post_status_modal.vue'
+import StatusHistoryModal from './components/status_history_modal/status_history_modal.vue'
import GlobalNoticeList from './components/global_notice_list/global_notice_list.vue'
import { windowWidth, windowHeight } from './services/window_utils/window_utils'
import { mapGetters } from 'vuex'
@@ -35,6 +37,8 @@ export default {
UpdateNotification: defineAsyncComponent(() => import('./components/update_notification/update_notification.vue')),
UserReportingModal,
PostStatusModal,
+ EditStatusModal,
+ StatusHistoryModal,
GlobalNoticeList
},
data: () => ({
@@ -101,6 +105,7 @@ export default {
return this.$store.getters.mergedConfig.alwaysShowNewPostButton || this.layoutType === 'mobile'
},
showFeaturesPanel () { return this.$store.state.instance.showFeaturesPanel },
+ editingAvailable () { return this.$store.state.instance.editingAvailable },
shoutboxPosition () {
return this.$store.getters.mergedConfig.alwaysShowNewPostButton || false
},