mirror of
https://github.com/nextcloud/server.git
synced 2026-02-28 20:40:39 -05:00
38 lines
755 B
Vue
38 lines
755 B
Vue
<!--
|
|
- SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
|
|
- SPDX-License-Identifier: AGPL-3.0-or-later
|
|
-->
|
|
<template>
|
|
<NcContent app-name="files">
|
|
<Navigation v-if="!isPublic" />
|
|
<FilesList :is-public="isPublic" />
|
|
</NcContent>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { isPublicShare } from '@nextcloud/sharing/public'
|
|
import { defineComponent } from 'vue'
|
|
|
|
import NcContent from '@nextcloud/vue/dist/Components/NcContent.js'
|
|
|
|
import Navigation from './views/Navigation.vue'
|
|
import FilesList from './views/FilesList.vue'
|
|
|
|
export default defineComponent({
|
|
name: 'FilesApp',
|
|
|
|
components: {
|
|
NcContent,
|
|
FilesList,
|
|
Navigation,
|
|
},
|
|
|
|
setup() {
|
|
const isPublic = isPublicShare()
|
|
|
|
return {
|
|
isPublic,
|
|
}
|
|
},
|
|
})
|
|
</script>
|