Fixes arrows on processes popup

This commit is contained in:
mateuswetah 2021-02-26 14:27:42 -03:00
parent 79b3a83106
commit d80292591d
1 changed files with 9 additions and 7 deletions

View File

@ -5,19 +5,21 @@
class="processes-popup-backdrop" />
<div class="processes-popup">
<div class="popup-header">
<span
@click="bgProcesses.length > 0 ? showProcessesList = !showProcessesList : null"
class="header-title">{{ getUnfinishedProcesses() + ' ' + $i18n.get('info_unfinished_processes') }}</span>
<a
v-if="bgProcesses.length > 0"
@click="showProcessesList = !showProcessesList">
<span class="icon has-text-blue5">
<span
style="margin-left: -0.5rem"
class="icon has-text-blue5">
<i
:class="{ 'tainacan-icon-arrowup': showProcessesList,
'tainacan-icon-arrowdown': !showProcessesList }"
:class="{ 'tainacan-icon-arrowdown': showProcessesList,
'tainacan-icon-arrowright': !showProcessesList }"
class="tainacan-icon tainacan-icon-18px"/>
</span>
</a>
<span
@click="bgProcesses.length > 0 ? showProcessesList = !showProcessesList : null"
class="header-title">{{ getUnfinishedProcesses() + ' ' + $i18n.get('info_unfinished_processes') }}</span>
<a @click="$emit('closeProcessesPopup')">
<span class="icon has-text-blue5">
<i class="tainacan-icon tainacan-icon-close"/>