diff --git a/tdrive/backend/node/src/services/applications-api/index.ts b/tdrive/backend/node/src/services/applications-api/index.ts index cd0ce72ed..b0d5a7355 100644 --- a/tdrive/backend/node/src/services/applications-api/index.ts +++ b/tdrive/backend/node/src/services/applications-api/index.ts @@ -53,17 +53,17 @@ export default class ApplicationsApiService extends TdriveService { return; } - rep.send(response.data); + await rep.send(response.data); } catch (err) { logger.error(`${err}`); rep.raw.statusCode = 500; rep.raw.end(JSON.stringify({ error: err.message })); } }); - logger.info("Listening at ", "/" + prefix + "/*"); + logger.info("Listening at /" + prefix + "/*"); } catch (e) { logger.error(e); - logger.info("Can't listen to ", "/" + prefix + "/*"); + logger.info("Can't listen to /" + prefix + "/*"); } } } diff --git a/tdrive/frontend/src/app/atoms/button/button.tsx b/tdrive/frontend/src/app/atoms/button/button.tsx index 1e97516aa..a9042a4d8 100644 --- a/tdrive/frontend/src/app/atoms/button/button.tsx +++ b/tdrive/frontend/src/app/atoms/button/button.tsx @@ -68,7 +68,7 @@ export const Button = (props: ButtonProps) => { props.className } disabled={disabled} - {..._.omit(props, 'loading', 'children', 'className')} + {..._.omit(props, 'loading', 'children', 'className', 'icon')} > {props.loading && ( <> diff --git a/tdrive/frontend/src/app/features/global/services/feature-toggles-service.ts b/tdrive/frontend/src/app/features/global/services/feature-toggles-service.ts index 0c2013dc8..05d6efca3 100644 --- a/tdrive/frontend/src/app/features/global/services/feature-toggles-service.ts +++ b/tdrive/frontend/src/app/features/global/services/feature-toggles-service.ts @@ -51,8 +51,6 @@ class FeatureTogglesService { } public setFeaturesFromCompanyPlan(plan: { features: { [key: string]: FeatureValueType } }): void { - console.debug("Setting company features"); - console.debug(plan); for (const [featureName, defaultValue] of availableFeaturesWithDefaults) { this.setActiveFeatureName( featureName, @@ -72,9 +70,7 @@ class FeatureTogglesService { } public isActiveFeatureName(featureName: FeatureNames) { - const b = this.activeFeatureNames.includes(featureName); - console.debug(`Feature ${featureName} is ${b}`); - return b; + return this.activeFeatureNames.includes(featureName); } public getFeatureValue(featureName: FeatureNames): T { diff --git a/tdrive/frontend/src/app/views/client/body/drive/browser.tsx b/tdrive/frontend/src/app/views/client/body/drive/browser.tsx index 2f250e420..0dc2e560b 100644 --- a/tdrive/frontend/src/app/views/client/body/drive/browser.tsx +++ b/tdrive/frontend/src/app/views/client/body/drive/browser.tsx @@ -206,7 +206,7 @@ export default memo( }, }) } - + } function draggableMarkup(index: number, child: any) { @@ -226,13 +226,13 @@ export default memo( isMobile ? ( ) : ( - + ) ); } - + return ( <>