diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2022-06-23 13:24:35 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2022-06-23 13:24:35 +0200 |
commit | c82181fec7ac4a0d3a52b6ca02fe146171c4f159 (patch) | |
tree | 9774fac2999c7f5861b7378b640727472888a825 /apps | |
parent | eeed5e0fbea1862c4b3df8e8103b34edd3c28409 (diff) | |
download | nextcloud-server-c82181fec7ac4a0d3a52b6ca02fe146171c4f159.tar.gz nextcloud-server-c82181fec7ac4a0d3a52b6ca02fe146171c4f159.zip |
Fix quota text not updated when no quota is set
The JavaScript code that updates the quota text expects the element to
have "quotatext" as id.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/templates/appnavigation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php index 0bfdc6f0b54..9aea68fef99 100644 --- a/apps/files/templates/appnavigation.php +++ b/apps/files/templates/appnavigation.php @@ -12,7 +12,7 @@ <?php if ($_['quota'] === \OCP\Files\FileInfo::SPACE_UNLIMITED): ?> <li id="quota" class="pinned <?php p($pinned === 0 ? 'first-pinned ' : '') ?>"> <a href="#" class="icon-quota svg"> - <p><?php p($l->t('%s used', [$_['usage']])); ?></p> + <p id="quotatext"><?php p($l->t('%s used', [$_['usage']])); ?></p> </a> </li> <?php else: ?> |