mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 12:27:28 +00:00
fix: frontend lint
This commit is contained in:
-3
@@ -20,7 +20,6 @@ export const ChefSyncFields = () => {
|
|||||||
|
|
||||||
const connectionId = useWatch({ name: "connection.id", control });
|
const connectionId = useWatch({ name: "connection.id", control });
|
||||||
const dataBagName = useWatch({ name: "destinationConfig.dataBagName", control });
|
const dataBagName = useWatch({ name: "destinationConfig.dataBagName", control });
|
||||||
const dataBagItemName = useWatch({ name: "destinationConfig.dataBagItemName", control });
|
|
||||||
|
|
||||||
const { data: dataBags, isLoading: isDataBagsLoading } = useChefConnectionListDataBags(
|
const { data: dataBags, isLoading: isDataBagsLoading } = useChefConnectionListDataBags(
|
||||||
connectionId,
|
connectionId,
|
||||||
@@ -34,8 +33,6 @@ export const ChefSyncFields = () => {
|
|||||||
enabled: Boolean(connectionId && dataBagName)
|
enabled: Boolean(connectionId && dataBagName)
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log({ dataBags, dataBagItems });
|
|
||||||
|
|
||||||
const handleChangeConnection = () => {
|
const handleChangeConnection = () => {
|
||||||
setValue("destinationConfig.dataBagName", "");
|
setValue("destinationConfig.dataBagName", "");
|
||||||
setValue("destinationConfig.dataBagItemName", "");
|
setValue("destinationConfig.dataBagItemName", "");
|
||||||
|
|||||||
Reference in New Issue
Block a user