mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Merge pull request #48369 from nextcloud/backport/48354/stable30
[stable30] fix: Show storage full warning when storage is actually full
This commit is contained in:
commit
5d7dd7ded6
3 changed files with 5 additions and 5 deletions
|
|
@ -103,7 +103,7 @@ export default {
|
|||
// specific to that situation anyhow. So this covers warning covers
|
||||
// our primary day-to-day concern (individual account quota usage).
|
||||
//
|
||||
if (this.storageStats?.quota > 0 && this.storageStats?.free <= 0) {
|
||||
if (this.storageStats?.quota > 0 && this.storageStats?.free === 0) {
|
||||
this.showStorageFullWarning()
|
||||
}
|
||||
},
|
||||
|
|
@ -138,7 +138,7 @@ export default {
|
|||
|
||||
// Warn the user if the available account storage changed from > 0 to 0
|
||||
// (unless only because quota was intentionally set to 0 by admin in the interim)
|
||||
if (this.storageStats?.free > 0 && response.data.data?.free <= 0 && response.data.data?.quota > 0) {
|
||||
if (this.storageStats?.free > 0 && response.data.data?.free === 0 && response.data.data?.quota > 0) {
|
||||
this.showStorageFullWarning()
|
||||
}
|
||||
|
||||
|
|
|
|||
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