Make unrenote button danger
This commit is contained in:
parent
57cd0fb93f
commit
7d4c535233
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue