mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-04 05:39:00 -05:00
ingredient editor improve merge/delete add edit
This commit is contained in:
@@ -140,7 +140,7 @@ export default {
|
||||
},
|
||||
nothingSelected() {
|
||||
if (this.multiple || !this.initial_single_selection) {
|
||||
return this.selected_objects.length === 0 && this.initial_selection.length === 0
|
||||
return this.selected_objects?.length === 0 && this.initial_selection?.length === 0
|
||||
} else {
|
||||
return !this.selected_objects && !this.initial_single_selection
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user