Skip to content

Commit 41075fc

Browse files
author
Guillaume Chau
committed
refactor(ui): status bar project button
1 parent c658223 commit 41075fc

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

packages/@vue/cli-ui/locales/en.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@
100100
},
101101
"status-bar": {
102102
"project": {
103-
"tooltip": "Current project<br><i>Click to toggle Project Manager</i>",
104-
"empty": "No project"
103+
"tooltip": "Click to toggle Project Manager",
104+
"empty": "No project open"
105105
},
106106
"path": {
107107
"tooltip": "Current Working Folder"

packages/@vue/cli-ui/src/components/StatusBar.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@
1111
v-tooltip="$t('components.status-bar.project.tooltip')"
1212
@click="onProjectClick()"
1313
>
14-
<VueIcon icon="work"/>
15-
<span v-if="projectCurrent">{{ projectCurrent.name }}</span>
16-
<span v-else class="label">{{ $t('components.status-bar.project.empty') }}</span>
14+
<VueIcon icon="home"/>
15+
<span v-if="!projectCurrent" class="label">{{ $t('components.status-bar.project.empty') }}</span>
1716
</div>
1817

1918
<ApolloQuery

0 commit comments

Comments
 (0)