Open garethrees opened 3 years ago
Projects are useful even just for classification.
Think we want to add something like the following:
class Project
def extractable?
key_set.present?
end
end
Could disable the button…
<%= link_to project_extract_path(@project), class: 'button', disabled: !@project.extractable? do %>
<%= _('Start extracting') %>
<% end %>
…or hide the entire section:
<% if @project.extractable? %>
<%= render partial: 'extract' %>
<% end %>
I just set up a new Project without yet adding a
DataSet
, but we still get the queue for doing this work.