|
@@ -34,7 +34,7 @@
|
|
|
</div>
|
|
|
<div class="bottom">
|
|
|
<template v-if="showSendBtn">
|
|
|
- <div class="btn send-btn" @click="showSendGiveawayDialog">
|
|
|
+ <div class="btn send-btn" @click="showSendGiveawayDialog(currencyInfo)">
|
|
|
<img :src="require('@/assets/svg/icon-send-giveaway.svg')" />
|
|
|
Send Giveaway
|
|
|
</div>
|
|
@@ -191,13 +191,13 @@ const onRefresh = () => {
|
|
|
})
|
|
|
};
|
|
|
|
|
|
-const showSendGiveawayDialog = (params = null) => {
|
|
|
+const showSendGiveawayDialog = (params = {}) => {
|
|
|
if(currenciesData.value.length > 1 && currencyOpertionType != 'SEND') {
|
|
|
showCurrencySelect.value = true;
|
|
|
currencyOpertionType = "SEND";
|
|
|
} else {
|
|
|
- let currencyInfo = params ? params : currencyInfo.value;
|
|
|
- setLocalSelectCurrencyInfo(currencyInfo)
|
|
|
+ console.log(params,'params')
|
|
|
+ setLocalSelectCurrencyInfo(params)
|
|
|
setTimeout(() => {
|
|
|
chrome.runtime.sendMessage({
|
|
|
actionType: "POPUP_SHOW_DENET_PUBLISH_DIALOG",
|