Skip to content

Commit dd2ebab

Browse files
authored
Merge pull request Expensify#78569 from Nodebrute/importtags
fix single level tags prompt
2 parents 4074a7c + a57f12a commit dd2ebab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/workspace/tags/ImportTagsOptionsPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ function ImportTagsOptionsPage({route}: ImportTagsOptionsPageProps) {
201201
shouldShowRightIcon
202202
onPress={() => {
203203
setImportedSpreadsheetIsImportingMultiLevelTags(false);
204-
if (hasVisibleTags) {
204+
if (hasVisibleTags && isMultiLevelTags) {
205205
setIsSwitchSingleToMultipleLevelTagWarningModalVisible(true);
206206
} else {
207207
Navigation.navigate(

0 commit comments

Comments
 (0)