Allow to drag all Quantities

This commit is contained in:
2025-01-14 15:03:25 +01:00
parent 644d1f4b9a
commit 8524beefdc
2 changed files with 3 additions and 7 deletions

View File

@@ -62,7 +62,7 @@ class Quantity < ApplicationRecord
name
end
def movable?
def destroyable?
subquantities.empty?
end