mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-30 15:15:24 +00:00
fix: finish 2.9.0 plugin moves and get every check green
This commit is contained in:
1 parent
8c1e02af89
commit
6489b62ece
335 files changed
+29878
-17749
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { fileManagerHostSetting } from "../host-settings";
|
||||
import { useHosts, useTranslation } from "@termix/plugin-sdk/frontend";
|
||||
import { Select2 } from "@termix/plugin-sdk/ui";
|
||||
import type {
|
||||
@@ -12,7 +13,9 @@ export function FileManagerWidgetEditForm({
|
||||
const { t } = useTranslation();
|
||||
const { hosts } = useHosts();
|
||||
const options = hosts.filter(
|
||||
(host) => host.enableSsh !== false && host.enableFileManager !== false,
|
||||
(host) =>
|
||||
host.enableSsh !== false &&
|
||||
fileManagerHostSetting(host, "enableFileManager", true),
|
||||
);
|
||||
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user