Browse Source

improve(plugin): hide reload button of plugin that from marketplace

charlie 4 years ago
parent
commit
67fd60d636
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/components/plugins.cljs

+ 1 - 1
src/main/frontend/components/plugins.cljs

@@ -229,7 +229,7 @@
                (t :plugin/uninstall)]]]]
 
            [:div.r.flex.items-center
-            (if (not disabled)
+            (if (and (not iir) (not disabled))
               [:a.btn
                {:on-click #(js-invoke js/LSPluginCore "reload" id)}
                (t :plugin/reload)])