File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -575,13 +575,12 @@ viewWebhooks session model =
575575 divider =
576576 Divider . divider |> Divider . small |> Divider . view
577577
578- {-
579- examplesButton =
580- Button.iconThenLabel ShowWebhookExamplesModal Icon.docs "Webhook example docs"
581- |> Button.small
582- |> Button.subdued
583- |> Button.view
584- -}
578+ examplesButton =
579+ Button . iconThenLabel ShowWebhookExamplesModal Icon . docs " Webhook example docs"
580+ |> Button . small
581+ |> Button . subdued
582+ |> Button . view
583+
585584 addButton =
586585 Button . iconThenLabel ShowAddWebhookModal Icon . plus " Add a webhook"
587586 |> Button . small
@@ -591,15 +590,15 @@ viewWebhooks session model =
591590 case model. webhooks of
592591 Success webhooks ->
593592 if List . isEmpty webhooks then
594- [ header [ class " project-settings_card_header" ] [ h2 [] [ text " Webhooks" ], div [ class " webhook-buttons" ] [ addButton ] ]
593+ [ header [ class " project-settings_card_header" ] [ h2 [] [ text " Webhooks" ], div [ class " webhook-buttons" ] [ examplesButton , addButton ] ]
595594 , div [ class " list_empty-state" ]
596595 [ div [ class " list_empty-state_text" ]
597596 [ Icon . view Icon . wireframeGlobe, text " You haven't set up any webhooks yet" ]
598597 ]
599598 ]
600599
601600 else
602- [ header [ class " project-settings_card_header" ] [ h2 [] [ text " Webhooks" ], div [ class " webhook-buttons" ] [ addButton ] ]
601+ [ header [ class " project-settings_card_header" ] [ h2 [] [ text " Webhooks" ], div [ class " webhook-buttons" ] [ examplesButton , addButton ] ]
603602 , div [ class " webhooks" ] ( webhooks |> List . map viewWebhook |> List . intersperse divider)
604603 ]
605604
You can’t perform that action at this time.
0 commit comments