diff --git a/package.json b/package.json index 1e333b4..0500462 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "jwt-decode": "^3.1.2", "luxon": "^3.1.0", "vue": "^3.2.13", + "vue-draggable-next": "^2.1.1", "vue-router": "^4.0.3", "vuedraggable": "^4.1.0", "vuex": "^4.0.0" diff --git a/src/components/EditQueue.vue b/src/components/EditQueue.vue index f9aedd5..8915e8b 100644 --- a/src/components/EditQueue.vue +++ b/src/components/EditQueue.vue @@ -25,17 +25,17 @@ >
- + +
- -
{{ queue.title }}
+
+
{{ element.title }} ({{ element.asset }})
+
{{ element.order }}
+
+
@@ -43,6 +43,7 @@ diff --git a/src/views/AddFundView.vue b/src/views/AddFundView.vue index eff659a..2776a39 100644 --- a/src/views/AddFundView.vue +++ b/src/views/AddFundView.vue @@ -47,7 +47,11 @@
Queue
- +
@@ -121,6 +125,19 @@ const doCreateQueue = async () => { return null; }; +const constructFund = () => ({ + asset: asset.value, + fundWallet: sanitize(fundWallet.value), + sellingWallet: sanitize(sellWallet.value), + issuerWallet: sanitize(issuerWallet.value), + memo: sanitize(memo.value), + minContribution: minContribution.value, + title: sanitize(title.value), + description: sanitize(description.value), + bonuses: bonuses.value, + queueID: null, +}); + const requesting = ref(false); const submit = async () => { if (!minContribution.value) return; diff --git a/yarn.lock b/yarn.lock index 968319f..632da27 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7304,6 +7304,11 @@ vue-demi@*: resolved "https://registry.npmjs.org/vue-demi/-/vue-demi-0.13.11.tgz" integrity sha512-IR8HoEEGM65YY3ZJYAjMlKygDQn25D5ajNFNoKh9RSDMQtlzCxtfQjdQgv9jjK+m3377SsJXY8ysq8kLCZL25A== +vue-draggable-next@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/vue-draggable-next/-/vue-draggable-next-2.1.1.tgz#49886da82f116d11b3e4df7674320fdacf5d7e04" + integrity sha512-f5lmA7t6LMaL4viR7dU30zzvqJzaKQs0ymL0Jy9UDT9uiZ2tXF3MzPzEvpTH2UODXZJkT+SnjeV1fXHMsgXLYA== + vue-eslint-parser@^8.0.0, vue-eslint-parser@^8.0.1: version "8.3.0" resolved "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-8.3.0.tgz"