Skip to content

Commit 37f8870

Browse files
committed
Fixed issue with unlimited storage
1 parent 2f273de commit 37f8870

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/nsNextcloud.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ Nextcloud.prototype = {
306306
return this._maxFileSize;
307307
},
308308
get remainingFileSpace () {
309-
return this._totalStorage - this._fileSpaceUsed;
309+
return this._totalStorage > 0 : this._totalStorage - this._fileSpaceUsed : -1;
310310
},
311311
get fileSpaceUsed () {
312312
return this._fileSpaceUsed;

0 commit comments

Comments
 (0)