Skip to content

Commit

Permalink
initial value parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
ibolton336 committed Jun 19, 2024
1 parent c35b634 commit 80de1bc
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,12 @@ export const useApplicationFormHook = ({
application: Application | null,
fieldName: string
) => {
const fieldList = application?.binary?.split(":") || [];
const binaryString = application?.binary?.startsWith("mvn://")
? application.binary.substring(6)
: application?.binary;

const fieldList = binaryString?.split(":") || [];

switch (fieldName) {
case "group":
return fieldList[0] || "";
Expand Down

0 comments on commit 80de1bc

Please sign in to comment.