@windward/games 0.0.5 → 0.0.6

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.
@@ -118,6 +118,7 @@
118
118
  >
119
119
  <v-card-text>
120
120
  <draggable
121
+ v-if="mainPrompt['file']"
121
122
  class="dragArea list-group"
122
123
  :key="mainPrompt['prompt']"
123
124
  v-bind="dragOptions"
@@ -393,7 +394,17 @@ export default {
393
394
  solvedQuestions: [],
394
395
  status: 'default',
395
396
  allowDrag: true,
396
- mainPrompt: {},
397
+ mainPrompt: {
398
+ altText: '',
399
+ answer: {},
400
+ file: {
401
+ asset: {
402
+ public_url: '',
403
+ },
404
+ name: '',
405
+ },
406
+ prompt: '',
407
+ },
397
408
  editedPrompt: {},
398
409
  startingIndex: 0,
399
410
  }
@@ -220,7 +220,7 @@
220
220
  prompt.toggle
221
221
  "
222
222
  class="ellipsisText"
223
- >{{
223
+ >{{ prompt.file &&
224
224
  prompt.file !==
225
225
  null
226
226
  ? prompt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windward/games",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "Windward UI Plugin Games",
5
5
  "main": "plugin.js",
6
6
  "scripts": {