mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 19:20:35 -04:00
Merge pull request #41416 from nextcloud/bugfix/preview-reset
This commit is contained in:
commit
96eb00a861
3 changed files with 6 additions and 6 deletions
|
|
@ -217,11 +217,11 @@ export default Vue.extend({
|
|||
|
||||
methods: {
|
||||
reset() {
|
||||
// Reset background state
|
||||
this.backgroundFailed = undefined
|
||||
if (this.$refs.previewImg) {
|
||||
if (this.backgroundFailed === true && this.$refs.previewImg) {
|
||||
this.$refs.previewImg.src = ''
|
||||
}
|
||||
// Reset background state
|
||||
this.backgroundFailed = undefined
|
||||
},
|
||||
|
||||
t,
|
||||
|
|
|
|||
4
dist/files-main.js
vendored
4
dist/files-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-main.js.map
vendored
2
dist/files-main.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue