Skip to content

Commit

Permalink
fix wp mint color bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zapaz committed May 3, 2024
1 parent a7a7fd3 commit 2870280
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,6 @@
"workbench.layoutControl.enabled": true,
"workbench.statusBar.visible": true,
"favorites.sortOrder": "DESC",
"workbench.preferredLightColorTheme": "Kimbie Dark",
"workbench.preferredLightColorTheme": "Bluloco Light Italic",
"liveServer.settings.root": "/web/dapp/"
}
3 changes: 2 additions & 1 deletion svelte/src/components/Main/MintButtonWp.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,12 @@
$: nft && handleNft();
const handleNft = (): void => {
if (!nft) return;
nid = nft.nid;
// Dispacth "token" event to be catched
// in wordpress/plugins/kredeum-nfts/admin/ajax/ajax.js
const detail: { nid?: string; pid?: string } = {};
if (nft && (nft as NftType).nid) detail.nid = (nft as NftType).nid;
if (nid) detail.nid = nid;
if (pid) detail.pid = pid;
const event = new CustomEvent("token", { detail, bubbles: true });
Expand Down
7 changes: 5 additions & 2 deletions wordpress/readme.handlebars.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: yoannr35, alexr35, alain
Donate link: https://www.kredeum.com/
Tags: nft, blockchain, ethereum, polygon, ipfs, swarm
Requires at least: 5.0
Tested up to: 6.2
Tested up to: 6.5.2
Stable tag: {{version.stable}}
Requires PHP: 7.3
License: GPLv3 or later
Expand Down Expand Up @@ -71,7 +71,10 @@ You can even add your NFTs in any websites you want by using Kredeum "Buy snippe


== Changelog ==
= 1.2.0 (latest) =
= 1.5.0 (latest) =
* New feature (beta) :

= 1.2.0 =
* New feature (beta) : Add blog post PDF archiving and NFT minting

= 1.1.4 (stable & latest) =
Expand Down

0 comments on commit 2870280

Please sign in to comment.