remove preview and edit url from PublishResponse for now

This commit is contained in:
Inhji 2023-06-10 08:35:47 +02:00
parent c6bb750c92
commit 83d3c6d647
2 changed files with 5 additions and 2 deletions

View File

@ -3,6 +3,6 @@
*/
export type PublishResponse = {
url: string
preview: string
edit: string
//preview: string
//edit: string
}

View File

@ -183,10 +183,13 @@ export class PublishView extends Modal implements PublishViewModelDelegate {
contentEl.createEl('h2', { text: 'Published' })
contentEl.createEl('a', { text: 'Open post URL', href: response.url })
/*
contentEl.createEl('br')
contentEl.createEl('a', { text: 'Open post Preview URL', href: response.preview })
contentEl.createEl('br')
contentEl.createEl('a', { text: 'Open post Edit URL', href: response.edit })
*/
}
private makeMessageView(