mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
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>
This commit is contained in:
parent
9bf7abdf8c
commit
fcbcf21092
1 changed files with 1 additions and 1 deletions
|
|
@ -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: ?>
|
||||
|
|
|
|||
Loading…
Reference in a new issue