Make unrenote button danger

This commit is contained in:
syuilo 2020-10-18 10:38:35 +09:00
parent 57cd0fb93f
commit 7d4c535233
1 changed files with 1 additions and 0 deletions

View File

@ -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