fix
This commit is contained in:
@@ -75,7 +75,7 @@ const SelectionFolderMenu: React.FC<SelectionFolderMenuProps> = ({
|
|||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
setQuery('');
|
setQuery('');
|
||||||
setCurrentFolderId(null);
|
setCurrentFolderId('root');
|
||||||
setPending(false);
|
setPending(false);
|
||||||
const frame = requestAnimationFrame(() => {
|
const frame = requestAnimationFrame(() => {
|
||||||
updatePosition();
|
updatePosition();
|
||||||
@@ -216,7 +216,7 @@ const SelectionFolderMenu: React.FC<SelectionFolderMenuProps> = ({
|
|||||||
{!isSearching && (
|
{!isSearching && (
|
||||||
<div className="selection-assignment__header-nav">
|
<div className="selection-assignment__header-nav">
|
||||||
<div className="selection-assignment__nav-title">
|
<div className="selection-assignment__nav-title">
|
||||||
{currentFolderId ? (
|
{currentFolderId && currentFolderId !== 'root' ? (
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
className="icon-button"
|
className="icon-button"
|
||||||
|
|||||||
Reference in New Issue
Block a user