                     selected (string/includes? domain name)]
                 (if (some? icon)
                   (drawer-item name icon opened selected)
-                  (drawer-category name opened)))) menu))))))+                  (drawer-category name opened)))) (if (storage/admin?)
+                                                     (concat menu admin-menu)
+                                                     menu)))))))
  (:require [material.component :as comp]
            [material.icon :as icon]
            [swarmpit.component.state :as state]
            [clojure.string :as string]
            [rum.core :as rum]))


   {:name "Nodes"
    :icon icon/nodes}
   {:name "Networks"
    :icon icon/networks}])

(def admin-menu
  [{:name "SETTINGS"}
   {:name "Dockerhub"
    :icon icon/dockerhub}
   {:name "Registries"
