Make unrenote button danger

This commit is contained in:
syuilo 2020-10-18 10:38:35 +09:00
parent 57cd0fb93f
commit 7d4c535233

View File

@ -708,6 +708,7 @@ export default defineComponent({
os.modalMenu([{ os.modalMenu([{
text: this.$t('unrenote'), text: this.$t('unrenote'),
icon: faTrashAlt, icon: faTrashAlt,
danger: true,
action: () => { action: () => {
os.api('notes/delete', { os.api('notes/delete', {
noteId: this.note.id noteId: this.note.id