diff --git a/components/ui/Global/Global.html b/components/ui/Global/Global.html index 32c9b227b0..eddb9e8045 100644 --- a/components/ui/Global/Global.html +++ b/components/ui/Global/Global.html @@ -92,12 +92,7 @@ v-click-outside="() => toggleModal(ModalWindows.CHANGELOG)" /> - + diff --git a/components/views/files/view/View.vue b/components/views/files/view/View.vue index 9b263c7725..90f51f9e3d 100644 --- a/components/views/files/view/View.vue +++ b/components/views/files/view/View.vue @@ -22,12 +22,6 @@ export default Vue.extend({ XIcon, LinkIcon, }, - props: { - fileName: { - type: String, - required: true, - }, - }, data() { return { load: false as boolean, @@ -43,7 +37,7 @@ export default Vue.extend({ async created() { this.load = true - this.file = this.$FileSystem.getChild(this.fileName) as Fil + this.file = this.$FileSystem.getChild(this.ui.filePreview) as Fil this.name = this.file?.name // if no file data available, pull encrypted file from textile bucket