mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Merge branch 'master' into lens_restructure
# Conflicts: # Makefile # dashboard/yarn.lock # package.json # yarn.lock
This commit is contained in:
commit
e8624c845a
11 files changed
+132
-87
No files matched your search
@@ -11,6 +11,7 @@
|
||||
label="Choose config:"
|
||||
>
|
||||
<b-form-select
|
||||
id="kubecontext-select"
|
||||
v-model="kubecontext"
|
||||
:options="contextNames"
|
||||
@change="onSelect($event)"
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
<div>
|
||||
<b-row align-h="center" class="banner">
|
||||
<b-col sm="8">
|
||||
<h1 v-if="user && clusters.length === 0" class="display-4 text-center">
|
||||
Welcome, {{ greetingName }}!
|
||||
<h1 v-if="clusters.length === 0" class="display-4 text-center">
|
||||
Welcome!
|
||||
</h1>
|
||||
<p v-if="clusters.length === 0" class="text-center">
|
||||
Get started by associating one or more clusters to Lens.
|
||||
@@ -35,12 +35,6 @@ export default {
|
||||
},
|
||||
clusters: function() {
|
||||
return this.$store.getters.clusters;
|
||||
},
|
||||
user: function() {
|
||||
return this.$store.getters.user;
|
||||
},
|
||||
greetingName: function() {
|
||||
return (this.user['first-name'] && this.user['first-name'] !== "") ? this.user['first-name'] : this.user.username
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user