@burh/nuxt-core 1.0.47 → 1.0.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@
6
6
  class="fa fa-ellipsis-h custom"
7
7
  aria-hidden="true"
8
8
  />
9
- <li v-if="isDefault" class="dropdown-item d-flex align-items-center w-100" @click="sendTest">
9
+ <li v-if="isDefault && !hasCourse" class="dropdown-item d-flex align-items-center w-100" @click="sendTest">
10
10
  <i class="fa fa-paper-plane" aria-hidden="true" />
11
11
  <span>
12
12
  Enviar teste
@@ -97,6 +97,10 @@ export default {
97
97
  isDefault: {
98
98
  type: Boolean,
99
99
  default: false,
100
+ },
101
+ hasCourse: {
102
+ type: Boolean,
103
+ default: false,
100
104
  }
101
105
  },
102
106
  methods: {
@@ -46,6 +46,7 @@
46
46
  :value="test.id"
47
47
  :label="test.name"
48
48
  :key="test.id"
49
+ :disabled="!!test.courses_count"
49
50
  ></el-option>
50
51
  </el-select>
51
52
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burh/nuxt-core",
3
- "version": "1.0.47",
3
+ "version": "1.0.48",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "scripts": {