Skip to content

Commit 54f7000

Browse files
committed
feat(StatsView): Show alert info when deleted page icon clicked.
1 parent 501a65c commit 54f7000

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/StatsView.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ export const StatsViewComponent = (props: { plugin: InvioPlugin }) => {
6161
const onCheckLink = (url: string) => {
6262
if (url) {
6363
open(url);
64+
} else {
65+
new Notice('This page has been deleted online', 3000);
6466
}
6567
}
6668
const openFile = async (key: string) => {

0 commit comments

Comments
 (0)