Skip to content

Commit 6e84103

Browse files
committed
Removed button mint (admin mint)
1 parent 222a7bc commit 6e84103

1 file changed

Lines changed: 2 additions & 14 deletions

File tree

frontend/components/parts/Table/Users.vue

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -140,20 +140,6 @@ const createColumns = (): DataTableColumns<UserInterface> => {
140140
title: 'Actions',
141141
render(row: UserInterface) {
142142
const actions = [];
143-
if (row.id && row.airdrop_status < AirdropStatus.TRANSACTION_CREATED && row.wallet) {
144-
actions.push(
145-
h(
146-
resolveComponent('Btn'),
147-
{
148-
class: 'locked',
149-
size: 'small',
150-
loading: loading.value === row.id,
151-
onClick: () => mint(Number(row.id)),
152-
},
153-
'Mint'
154-
)
155-
);
156-
}
157143
if (row.airdrop_status === AirdropStatus.PENDING) {
158144
actions.push(
159145
h('button', { class: 'icon-delete text-xl', onClick: () => handleDeleteUser(Number(row.id)) }, '')
@@ -166,6 +152,7 @@ const createColumns = (): DataTableColumns<UserInterface> => {
166152
};
167153
const columns = createColumns();
168154
155+
/** Admin mint
169156
async function mint(userId: number) {
170157
loading.value = userId;
171158
@@ -204,6 +191,7 @@ async function mint(userId: number) {
204191
loading.value = -1;
205192
}
206193
}
194+
*/
207195
208196
async function handleDeleteUser(id: number) {
209197
loading.value = id;

0 commit comments

Comments
 (0)