Skip to content

Commit

Permalink
fix: hide dropzone when feature is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentsenta committed Dec 16, 2021
1 parent 8a20188 commit 8a4e481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/components/RootTagDropZone.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const RootTagDropZone: React.FC<Props> = observer(
[tagsState, hasFolders, premiumModal]
);

if (!isNativeFoldersEnabled) {
if (!isNativeFoldersEnabled || !hasFolders) {
return null;
}

Expand Down

0 comments on commit 8a4e481

Please sign in to comment.