repo config good

This commit is contained in:
mbecker20
2024-05-12 23:01:25 -07:00
parent 1f444fdbc2
commit f8021d8541
2 changed files with 11 additions and 3 deletions

View File

@@ -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>

View File

@@ -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}