Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.

Adding status to query #133

Merged
merged 1 commit into from
Feb 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/Pages/EventTypeDetails/QueryTab.elm
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ queryTabHeader settings model query =
[ span [] [ text "SQL Query" ]
, helpIcon "Nakadi SQL" queryHelp BottomRight
, label [ class "query-tab__label" ] [ text " Status: " ]
, span [ class statClass ] [ text "active" ]
, span [ class statClass ] [ text query.status ]
, helpIcon "Envelope" Help.envelope BottomRight
, label [ class "query-tab__label" ] [ text " Envelope: " ]
, span [] [ text (boolToString query.envelope) ]
Expand Down
2 changes: 2 additions & 0 deletions client/Stores/Query.elm
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ type alias Query =
{ id : String
, sql : String
, envelope : Bool
, status : String
}


Expand All @@ -17,3 +18,4 @@ queryDecoder =
|> required "id" string
|> required "sql" string
|> required "envelope" bool
|> required "status" string