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,
|
||||
|
||||
@@ -64,14 +64,11 @@
|
||||
:page="page"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<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 PageTranslator from 'corteza-webapp-compose/src/components/Admin/Page/PageTranslator'
|
||||
import { compose, NoID } from '@cortezaproject/corteza-js'
|
||||
|
||||
@@ -82,7 +79,6 @@ export default {
|
||||
|
||||
components: {
|
||||
Grid,
|
||||
AttachmentModal,
|
||||
PageTranslator,
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user