@afeefa/vue-app 0.0.183 → 0.0.184

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- 0.0.183
1
+ 0.0.184
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afeefa/vue-app",
3
- "version": "0.0.183",
3
+ "version": "0.0.184",
4
4
  "description": "",
5
5
  "author": "Afeefa Kollektiv <kollektiv@afeefa.de>",
6
6
  "license": "MIT",
@@ -49,7 +49,8 @@ export default class ATabs extends Vue {
49
49
 
50
50
  setTab (index) {
51
51
  this.currentIndex = index
52
- this.$children.forEach((tab, i) => {
52
+ const tabs = this.$slots.default.map(s => s.componentInstance)
53
+ tabs.forEach((tab, i) => {
53
54
  if (i === this.currentIndex) {
54
55
  tab.show()
55
56
  } else {
@@ -92,7 +93,7 @@ export default class ATabs extends Vue {
92
93
  }
93
94
 
94
95
  &.selected {
95
- background: #DDDDDD;
96
+ background: #EEEEEE;
96
97
  color: #666666;
97
98
  }
98
99
  }
@@ -20,7 +20,7 @@
20
20
  v-text="icon.icon"
21
21
  />
22
22
 
23
- <div class="titleContainer ml-n2">
23
+ <div class="titleContainer ml-n1">
24
24
  <h3 v-if="subtitle">
25
25
  {{ subtitle }}
26
26
  </h3>