Add loading indicator until the widget is mounted

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2020-08-24 14:24:17 +02:00 committed by Roeland Jago Douma
parent ed5b90b38a
commit d4502823f4
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
{{ panels[panelId].title }}
</h2>
</div>
<div class="panel--content">
<div class="panel--content" :class="{ loading: !panels[panelId].mounted }">
<div :ref="panels[panelId].id" :data-id="panels[panelId].id" />
</div>
</div>