Skip to content

Commit

Permalink
portal: minor fix in cards nb
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Jun 9, 2021
1 parent c64ac4e commit 31bda69
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,8 @@
" root = column.split(\".\", 1)[0]\n",
" root_data_columns[root].add(clean_unit)\n",
" has_component[\"data\"] = True\n",
" else:\n",
" for component in COMPONENTS[1:]:\n",
" if path == component:\n",
" has_component[component] = True"
" elif path in COMPONENTS[1:]:\n",
" has_component[component] = True"
]
},
{
Expand Down

0 comments on commit 31bda69

Please sign in to comment.