This commit is contained in:
@@ -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}`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user