Skip to content

Commit

Permalink
fix (#116): consider orgTag for the EntryForm.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
navid-kalaei committed Apr 30, 2022
1 parent 2d42f20 commit 1c97598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/EntryForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ const EntryForm: FC<EntryFormProps> = (props) => {

const isEdit = verb === SlugVerb.EDIT

const optionalOrgTag: RouterQueryParam = query['org-tag']
const { orgTag: optionalOrgTag } = query
const orgTag = optionalOrgTag && isString(optionalOrgTag) ? optionalOrgTag : null
const entryRequest: EntryRequest = {
org_tag: orgTag,
Expand Down

0 comments on commit 1c97598

Please sign in to comment.