mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-04-21 11:58:36 -05:00
refactor(ui): status bar project button
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user