🎨 card

This commit is contained in:
Vanessa 2024-03-17 22:30:30 +08:00
parent 802df1e230
commit 8fa4dad91d

View file

@ -274,7 +274,7 @@ export const bindCardEvent = async (options: {
if (moreElement) {
event.stopPropagation();
event.preventDefault();
if (filterElement.getAttribute("data-cardtype") === "all") {
if (filterElement.getAttribute("data-cardtype") === "all" && filterElement.getAttribute("data-id")) {
showMessage(window.siyuan.languages.noSupportTip);
return;
}