Skip to content

Commit

Permalink
[AIRFLOW-4148] Fix editing DagRuns when clicking state column (apache…
Browse files Browse the repository at this point in the history
…#5436)

The update from Flask-Admin to 1.5.2 broke editing the state by clicking
on the column. This makes it work again (although the edited column is
no-longer styled once edited). This is good enough a fix for the
deprecated UI

(Authorship and commit taken from apache#4969)
  • Loading branch information
ashb committed Jun 19, 2019
1 parent a37fe2c commit c5c71c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/www/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2684,7 +2684,7 @@ class DagRunModelView(ModelViewOnly):
verbose_name = "dag run"
column_default_sort = ('execution_date', True)
form_choices = {
'state': [
'_state': [
('success', 'success'),
('running', 'running'),
('failed', 'failed'),
Expand Down

0 comments on commit c5c71c9

Please sign in to comment.