make changeSets Sets (duh) to avoid repetition
This commit is contained in:
parent
61a261470d
commit
c7cad11b89
@ -13,9 +13,9 @@ module Merged
|
|||||||
|
|
||||||
def zero
|
def zero
|
||||||
[Page, Section, Card].each { |m| m.reload(true) }
|
[Page, Section, Card].each { |m| m.reload(true) }
|
||||||
@adds = []
|
@adds = Set.new
|
||||||
@edits = []
|
@edits = Set.new
|
||||||
@deletes = []
|
@deletes = Set.new
|
||||||
end
|
end
|
||||||
|
|
||||||
def add( type , text)
|
def add( type , text)
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
%td.px-4.py-2.text-gray-700
|
%td.px-4.py-2.text-gray-700
|
||||||
- changeset(type , element).each do |name|
|
- changeset(type , element).each do |name|
|
||||||
=name.last
|
=name.last
|
||||||
|
%br
|
||||||
|
|
||||||
.grid.grid-cols-3.bg-white
|
.grid.grid-cols-3.bg-white
|
||||||
.items-center.justify-center.col-span-2
|
.items-center.justify-center.col-span-2
|
||||||
|
Loading…
Reference in New Issue
Block a user