Quellcode durchsuchen

chore: fix typo

rcmerci vor 2 Jahren
Ursprung
Commit
cec8f99585

+ 3 - 3
src/main/frontend/components/settings.cljs

@@ -78,12 +78,12 @@
                nil)]
 
        [:div.text-sm.cursor
-        {:title (str "Revision: " config/revison)
+        {:title (str "Revision: " config/revision)
          :on-click (fn []
                      (notification/show! [:div "Current Revision: "
                                           [:a {:target "_blank"
-                                               :href (str "https://github.com/logseq/logseq/commit/" config/revison)}
-                                           config/revison]]
+                                               :href (str "https://github.com/logseq/logseq/commit/" config/revision)}
+                                           config/revision]]
                                          :info
                                          false))}
         version]

+ 1 - 1
src/main/frontend/config.cljs

@@ -17,7 +17,7 @@
 (defonce publishing? PUBLISHING)
 
 (goog-define REVISION "unknown")
-(defonce revison REVISION)
+(defonce revision REVISION)
 
 (reset! state/publishing? publishing?)
 

+ 2 - 2
src/main/frontend/fs/sync.cljs

@@ -880,7 +880,7 @@
         (let [token (<! (<get-token this))
               metadata {:fsCaseSensitive (<! (<case-sensitive-fs? this graph-uuid base-path))
                         :version version
-                        :revision config/revison
+                        :revision config/revision
                         :platform (platform)}]
           (<! (<retry-rsapi
                #(p->c (ipc/ipc "update-remote-files" graph-uuid base-path normalized-filepaths local-txid token
@@ -985,7 +985,7 @@
         (let [token (<! (<get-token this))
               metadata {:fsCaseSensitive (<! (<case-sensitive-fs? this graph-uuid base-path))
                         :version version
-                        :revision config/revison
+                        :revision config/revision
                         :platform (platform)}
               r (<! (p->c (.updateRemoteFiles mobile-util/file-sync
                                               (clj->js {:graphUUID graph-uuid

+ 2 - 2
src/main/frontend/modules/instrumentation/sentry.cljs

@@ -17,8 +17,8 @@
    :environment (if config/dev? "development" "production")
    :initialScope {:tags
                   (merge
-                   (when (not-empty config/revison)
-                     {:revision config/revison})
+                   (when (not-empty config/revision)
+                     {:revision config/revision})
                    {:platform (cond
                                 (util/electron?) "electron"
                                 (mobile-util/native-platform?) "mobile"