Preview page attachments in public pages
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user