       {:className "Swarmpit-table-card-header"
        :key       "fsech"
        :title     "Secrets"})
-    (comp/card-content
-      {:className "Swarmpit-table-card-content"
-       :key       "fsecc"}
-      (rum/with-key
-        (list/responsive
-          secrets/render-metadata
-          (sort-by :secretName secrets)
-          secrets/onclick-handler) "fseccrl"))))
+    (if (empty? secrets)
+      (comp/card-content
+        {:key "fsecce"}
+        (html [:div "No secrets in stack."]))
+      (comp/card-content
+        {:className "Swarmpit-table-card-content"
+         :key       "fsecc"}
+        (rum/with-key
+          (list/list
+            (:list secrets/render-metadata)
+            (sort-by :secretName secrets)
+            secrets/onclick-handler) "fseccrl")))))
 
 (defn- init-form-state
   []

      {:className "Swarmpit-table-card-header"
       :key       "fvch"
       :title     "Volumes"})
    (comp/card-content
      {:className "Swarmpit-table-card-content"
       :key       "fvcc"}
      (rum/with-key
        (list/responsive
          volumes/render-metadata
          (sort-by :volumeName volumes)
          volumes/onclick-handler) "fvccrl"))))

(rum/defc form-configs < rum/static [stack-name configs]
  (comp/card

      {:className "Swarmpit-table-card-header"
       :key       "fnch"
       :title     "Networks"})
    (if (empty? networks)
      (comp/card-content
        {:key "fvcce"}
        (html [:div "No networks in stack."]))
      (comp/card-content
        {:className "Swarmpit-table-card-content"
         :key       "fncc"}
        (rum/with-key
          (list/responsive
            networks/render-metadata
            (sort-by :networkName networks)
            networks/onclick-handler) "fnccrl")))))

(rum/defc form-volumes < rum/static [stack-name volumes]
  (comp/card
