3
0

Preview page attachments in public pages

This commit is contained in:
Katrin Yordanova
2023-01-02 11:17:34 +02:00
parent b4d5c7fd7c
commit 6ade044843
2 changed files with 7 additions and 4 deletions

View File

@@ -45,11 +45,14 @@
</div>
</div>
</div>
<attachment-modal />
</div>
</template>
<script>
import { mapGetters } from 'vuex'
import AttachmentModal from 'corteza-webapp-compose/src/components/Public/Page/Attachment/Modal'
export default {
i18nOptions: {
@@ -58,6 +61,10 @@ export default {
name: 'Namespace',
components: {
AttachmentModal,
},
props: {
slug: {
required: true,

View File

@@ -73,14 +73,11 @@
:namespace="namespace"
:page="page"
/>
<attachment-modal />
</div>
</template>
<script>
import { mapActions } from 'vuex'
import Grid from 'corteza-webapp-compose/src/components/Public/Page/Grid'
import AttachmentModal from 'corteza-webapp-compose/src/components/Public/Page/Attachment/Modal'
import RecordModal from 'corteza-webapp-compose/src/components/Public/Record/Modal'
import MagnificationModal from 'corteza-webapp-compose/src/components/Public/Page/Block/Modal'
import PageTranslator from 'corteza-webapp-compose/src/components/Admin/Page/PageTranslator'
@@ -93,7 +90,6 @@ export default {
components: {
Grid,
AttachmentModal,
RecordModal,
PageTranslator,
MagnificationModal,