    [broadfcui.utils.ajax :as ajax]
    [broadfcui.utils.test :as test-utils]
    [broadfcui.utils.user :as user]
+   [goog.string :as gstring]
    ))
 
 (def ^:private preview-byte-count 20000)

             :onClick (fn [e]
                        (.preventDefault e)
                        (swap! state assoc :showing-preview? true))}
         (if link-label (str link-label) dos-uri)]]))})

(react/defc FilePreviewLink
  {:render

             :onClick (fn [e]
                        (.preventDefault e)
                        (swap! state assoc :showing-preview? true))}
         (lrm-pad
           (if (= bucket-name workspace-bucket)
             object
             (if link-label (str link-label) (str "gs://" bucket-name "/" object))))]]))})

(react/defc DOSFilePreviewLink
  {:render
