classcard-ui 0.2.240 → 0.2.241

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "classcard-ui",
3
- "version": "0.2.240",
3
+ "version": "0.2.241",
4
4
  "main": "dist/classcard-ui.common.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -152,9 +152,7 @@ export default {
152
152
  placeholder: {
153
153
  type: String,
154
154
  },
155
- value: {
156
- type: String,
157
- },
155
+ value: [String, Number],
158
156
  hint: { type: String },
159
157
  helpText: {
160
158
  type: String,
@@ -106,7 +106,7 @@
106
106
  >
107
107
  <template slot="table-column" slot-scope="props">
108
108
  <!-- custom sorting icon -->
109
- <span v-if="props.column.sortable || sorting" class="flex">
109
+ <span v-if="props.column.sortable && sorting" class="flex">
110
110
  <div>
111
111
  {{ props.column.label }}
112
112
  </div>