         [:label {:for "end-date"} "To: "]
         (html/text-field {:ref "end-date", :class "form-control"} "end-date" (get selected-date-range 1))]))))
 
-(defn metrics-filter [{:keys [metrics selected-filter]} owner]
+(defn metrics-regexp-filter [{:keys [metrics metrics-filter]} owner]
   (reify
     om/IRenderState
     (render-state [_ {:keys [event-channel]}]

                                        (-> state
                                            (assoc :selected-detector detector
                                                   :selected-metric metric
                                                   :selected-filter filter
                                                   :selected-date-range [from to]
                                                   :alerts nil)
                                            (assoc-in [:error :message] ""))))

                                  "subscription-status")
                  " Keep me posted about the current selection"]]])
             (om/build alerts-list {:alerts alerts
                                    :metrics-filter metrics-filter})])))))

(defn error-notification [{:keys [error]}]
  (reify
