Make unrenote button danger
This commit is contained in:
parent
57cd0fb93f
commit
7d4c535233
1 changed files with 1 additions and 0 deletions
|
@ -708,6 +708,7 @@ export default defineComponent({
|
|||
os.modalMenu([{
|
||||
text: this.$t('unrenote'),
|
||||
icon: faTrashAlt,
|
||||
danger: true,
|
||||
action: () => {
|
||||
os.api('notes/delete', {
|
||||
noteId: this.note.id
|
||||
|
|
Loading…
Reference in a new issue