Skip to content

Commit

Permalink
✨ misc
Browse files Browse the repository at this point in the history
  • Loading branch information
frostime committed Jul 15, 2024
1 parent b252f4a commit d5b42c1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { BookmarkContext, itemMoving, setItemMoving } from "./context";
import { i18n, renderI18n } from "@/utils/i18n";
import { simpleDialog } from "@/libs/dialog";
import Typography from "@/libs/components/typography";
import { getNotebook } from "@/utils";

interface IProps {
group: TBookmarkGroupId;
Expand Down Expand Up @@ -44,10 +45,10 @@ const setStyleBtn = (key: string, label: string): HTMLElement => {
const showErrItem = (item: IBookmarkItemInfo) => {
const markdown = `
- **ID**: ${item.id}
- **Box**: ${item.box}
- **Title**: ${item.title}
- **Box**: ${getNotebook(item.box)?.name ?? item.box}
- **Type**: ${item.type}
- **Subtype**: ${item.subtype}
- **Title**: ${item.title}
`;
let element = document.createElement('div');
// element.style.display = 'contents';
Expand Down

0 comments on commit d5b42c1

Please # to comment.