Skip to content

Commit

Permalink
action loading fix
Browse files Browse the repository at this point in the history
  • Loading branch information
darkeclipz committed Dec 23, 2018
1 parent 668921e commit af14159
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ <h1>$\oint$ Calcupy <small class="subtitle">Calculus powered graphical calculato
</div>
</div>

<div v-if="action_out || action_out_list" id="action-result" :class="[ action_out ? 'fade-in' : '' ]" :key="action_out">
<div v-if="action_out || action_out_list.length > 0" id="action-result" :class="[ action_out ? 'fade-in' : '' ]" :key="action_out">
<div>{{action_in}}</div>
<hr/>
<div>{{action_out}}</div>
Expand All @@ -208,7 +208,7 @@ <h1>$\oint$ Calcupy <small class="subtitle">Calculus powered graphical calculato
<hr/>
<button class="btn btn-primary" type="button" v-on:click="set(action_link);">View ></button>
</div>
<div v-if="!(action_out || action_out_list) && !action_error && !parameter_show">
<div v-if="!(action_out || action_out_list.length > 0) && !action_error && !parameter_show">
<div id="loader" class="progress" style="height: 24px;">
<div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width:100%"></div>
</div>
Expand Down

0 comments on commit af14159

Please sign in to comment.