aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/components/NavigationQuota.vue
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/src/components/NavigationQuota.vue')
-rw-r--r--apps/files/src/components/NavigationQuota.vue10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/files/src/components/NavigationQuota.vue b/apps/files/src/components/NavigationQuota.vue
index 9cbee4c6672..557fb240797 100644
--- a/apps/files/src/components/NavigationQuota.vue
+++ b/apps/files/src/components/NavigationQuota.vue
@@ -94,12 +94,12 @@ export default {
mounted() {
// If the user has a quota set, warn if the available account storage is <=0
//
- // NOTE: This doesn't catch situations where actual *server*
+ // NOTE: This doesn't catch situations where actual *server*
// disk (non-quota) space is low, but those should probably
// be handled differently anyway since a regular user can't
- // can't do much about them (If we did want to indicate server disk
+ // can't do much about them (If we did want to indicate server disk
// space matters to users, we'd probably want to use a warning
- // specific to that situation anyhow. So this covers warning covers
+ // 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) {
@@ -121,7 +121,7 @@ export default {
* Update the storage stats
* Throttled at max 1 refresh per minute
*
- * @param {Event} [event = null] if user interaction
+ * @param {Event} [event] if user interaction
*/
async updateStorageStats(event = null) {
if (this.loadingStorageStats) {
@@ -135,7 +135,7 @@ export default {
throw new Error('Invalid storage stats')
}
- // Warn the user if the available account storage changed from > 0 to 0
+ // 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) {
this.showStorageFullWarning()