Skip to content

Commit

Permalink
return new jar_id
Browse files Browse the repository at this point in the history
fix definition modified detection
  • Loading branch information
duranb committed Oct 31, 2024
1 parent c5c77d5 commit 6c5dfcb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/constraints/ConstraintForm.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import AssociationForm from '../ui/Association/AssociationForm.svelte';
export let initialConstraintDefinitionAuthor: UserId | undefined = undefined;
export let initialConstraintDefinitionCode: string | null = '';
export let initialConstraintDefinitionCode: string | null = null;
export let initialConstraintDefinitionFilename: string | null = null;
export let initialConstraintDescription: string = '';
export let initialConstraintId: number | null = null;
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/Association/AssociationForm.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
export let definitionTypeConfigurations: DefinitionConfigurations | undefined = undefined;
export let initialDefinitionAuthor: UserId | undefined = undefined;
export let initialDefinitionType: DefinitionType = DefinitionType.CODE;
export let initialDefinitionCode: string | null = '';
export let initialDefinitionCode: string | null = null;
export let initialDefinitionFileName: string | null = null;
export let initialDescription: string = '';
export let initialId: number | null = null;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/constraints/edit/[id]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
initialConstraintDefinitionAuthor={constraintDefinitionAuthor}
initialConstraintDescription={constraintDescription}
initialConstraintDefinitionType={constraintDefinitionType}
initialConstraintDefinitionCode={constraintDefinitionCode ?? ''}
initialConstraintDefinitionCode={constraintDefinitionCode}
initialConstraintDefinitionFilename={constraintDefinitionFilename}
initialConstraintId={constraintId}
initialConstraintName={constraintName}
Expand Down
2 changes: 2 additions & 0 deletions src/utilities/gql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2304,6 +2304,7 @@ const gql = {
}
}
type
uploaded_jar_id
}
}
}
Expand Down Expand Up @@ -2338,6 +2339,7 @@ const gql = {
definition
revision
type
uploaded_jar_id
}
}
}
Expand Down

0 comments on commit 6c5dfcb

Please sign in to comment.