mirror of
https://github.com/moghtech/komodo.git
synced 2026-03-11 17:44:19 -05:00
repo config good
This commit is contained in:
@@ -344,7 +344,7 @@ export const SystemCommand = ({
|
||||
placeholder="Set shell command"
|
||||
value={value?.command}
|
||||
onUpdate={(command) => set({ ...(value || {}), command })}
|
||||
triggerClassName="w-[200px] lg:w-[300px]"
|
||||
triggerClassName="w-[200px] lg:w-[300px] xl:w-[400px]"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -66,17 +66,25 @@ export const RepoConfig = ({ id }: { id: string }) => {
|
||||
);
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
label: "On Clone",
|
||||
components: {
|
||||
on_clone: (value, set) => (
|
||||
<SystemCommand
|
||||
label="On Clone"
|
||||
value={value}
|
||||
set={(value) => set({ on_clone: value })}
|
||||
disabled={disabled}
|
||||
/>
|
||||
),
|
||||
},
|
||||
},
|
||||
{
|
||||
label: "On Pull",
|
||||
components: {
|
||||
on_pull: (value, set) => (
|
||||
<SystemCommand
|
||||
label="On Pull"
|
||||
value={value}
|
||||
set={(value) => set({ on_pull: value })}
|
||||
disabled={disabled}
|
||||
|
||||
Reference in New Issue
Block a user