🐛do not display empty menu for "shared_with_me" (#346)
This commit is contained in:
@@ -349,6 +349,7 @@ export default memo(
|
||||
{formatBytes(item?.size || 0)} {Languages.t('scenes.app.drive.used')}
|
||||
</BaseSmall>
|
||||
)}
|
||||
{viewId !== 'shared_with_me' && (
|
||||
<Menu menu={() => onBuildContextMenu(details)}>
|
||||
{' '}
|
||||
<Button theme="secondary" className="ml-4 flex flex-row items-center">
|
||||
@@ -361,6 +362,7 @@ export default memo(
|
||||
<ChevronDownIcon className="h-4 w-4 ml-2 -mr-1" />
|
||||
</Button>
|
||||
</Menu>
|
||||
)}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ module.exports = function (app) {
|
||||
app.use(
|
||||
'/internal',
|
||||
createProxyMiddleware({
|
||||
target: 'http://localhost:4000',
|
||||
target: 'http://127.0.0.1:4000',
|
||||
onError: (err, req, resp) => {
|
||||
console.log(err);
|
||||
},
|
||||
@@ -13,7 +13,7 @@ module.exports = function (app) {
|
||||
app.use(
|
||||
'/__',
|
||||
createProxyMiddleware({
|
||||
target: 'http://localhost:4000',
|
||||
target: 'http://127.0.0.1:4000',
|
||||
}),
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user