Skip to content

Commit

Permalink
Merge pull request #48655 from software-mansion-labs/categories-impor…
Browse files Browse the repository at this point in the history
…t/fix-contains-header

Fix Contains header behavior
  • Loading branch information
mountiny authored Sep 9, 2024
2 parents bbe5270 + 2e39f0b commit 2a6c99f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/workspace/categories/ImportedCategoriesPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function ImportedCategoriesPage({route}: ImportedCategoriesPageProps) {
const {translate} = useLocalize();
const [spreadsheet] = useOnyx(ONYXKEYS.IMPORTED_SPREADSHEET);
const [isImportingCategories, setIsImportingCategories] = useState(false);
const {containsHeader} = spreadsheet ?? {};
const {containsHeader = true} = spreadsheet ?? {};
const [isValidationEnabled, setIsValidationEnabled] = useState(false);
const policyID = route.params.policyID;
const [policyCategories] = useOnyx(`${ONYXKEYS.COLLECTION.POLICY_CATEGORIES}${policyID}`);
Expand Down

0 comments on commit 2a6c99f

Please sign in to comment.