refactor(ui): status bar project button

This commit is contained in:
Guillaume Chau
2018-06-15 20:59:13 +02:00
parent c65822369b
commit 41075fccec
2 changed files with 4 additions and 5 deletions
+2 -2
View File
@@ -100,8 +100,8 @@
},
"status-bar": {
"project": {
"tooltip": "Current project<br><i>Click to toggle Project Manager</i>",
"empty": "No project"
"tooltip": "Click to toggle Project Manager",
"empty": "No project open"
},
"path": {
"tooltip": "Current Working Folder"
@@ -11,9 +11,8 @@
v-tooltip="$t('components.status-bar.project.tooltip')"
@click="onProjectClick()"
>
<VueIcon icon="work"/>
<span v-if="projectCurrent">{{ projectCurrent.name }}</span>
<span v-else class="label">{{ $t('components.status-bar.project.empty') }}</span>
<VueIcon icon="home"/>
<span v-if="!projectCurrent" class="label">{{ $t('components.status-bar.project.empty') }}</span>
</div>
<ApolloQuery