feat: private posts
Some checks failed
Release / publish (push) Failing after 2m44s

This commit is contained in:
2025-10-17 23:51:19 +02:00
parent 68574ad289
commit 192d95b1bf
5 changed files with 49 additions and 2 deletions

View File

@@ -17,4 +17,8 @@ export class DashboardComponent {
delete(id: number) {
this.postsService.deletePost(id);
}
getPath(secret: string) {
const url = document.URL.replaceAll('/dashboard', '');
navigator.clipboard.writeText(`${url}/post/secret/${secret}`);
}
}