From a244cb1203a60fccf39f17dae140d4dd125ffa29 Mon Sep 17 00:00:00 2001 From: Graeme Porteous Date: Thu, 21 Mar 2024 09:24:06 +0000 Subject: [PATCH] fixup! Add Note#style --- app/models/note.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/note.rb b/app/models/note.rb index 19b9d9bafc..bdc97080eb 100644 --- a/app/models/note.rb +++ b/app/models/note.rb @@ -24,11 +24,11 @@ class Note < ApplicationRecord cattr_accessor :default_style, default: 'original' cattr_accessor :style_labels, default: { - 'Original': 'original', '🔵 Blue': 'blue', '🔴 Red': 'red', '🟢 Green': 'green', - '🟡 Yellow': 'yellow' + '🟡 Yellow': 'yellow', + 'Original': 'original' } enum :style, Note.style_labels.values.index_by(&:itself),