Skip to content

Commit a57f12a

Browse files
committed
fix single level tags prompt
1 parent 1c1ade9 commit a57f12a

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)