one final tweak
This commit is contained in:
parent
0c36b3ab7b
commit
df7602ca47
@ -58,8 +58,8 @@ async function loadMinterBoardPage() {
|
|||||||
|
|
||||||
document.getElementById("publish-card-button").addEventListener("click", async () => {
|
document.getElementById("publish-card-button").addEventListener("click", async () => {
|
||||||
try {
|
try {
|
||||||
await fetchExistingCard();
|
// await fetchExistingCard();
|
||||||
const cardIdentifier = existingCardIdentifier
|
const cardIdentifier = await fetchExistingCard().identifier
|
||||||
if (cardIdentifier) {
|
if (cardIdentifier) {
|
||||||
// Update existing card
|
// Update existing card
|
||||||
const updateCard = confirm("A card already exists. Do you want to update it?");
|
const updateCard = confirm("A card already exists. Do you want to update it?");
|
||||||
|
Loading…
Reference in New Issue
Block a user