mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-28 09:54:07 +01:00
This commit is contained in:
parent
f25b36ff38
commit
cd40ec50bb
21 changed files with 341 additions and 398 deletions
|
|
@ -672,6 +672,9 @@ const emitEvent = (app: App, card: ICard, type: string) => {
|
|||
};
|
||||
|
||||
export const openCard = (app: App) => {
|
||||
if (window.siyuan.config.readonly) {
|
||||
return
|
||||
}
|
||||
fetchPost("/api/riff/getRiffDueCards", {deckID: ""}, (cardsResponse) => {
|
||||
openCardByData(app, cardsResponse.data, "all");
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue