diff --git a/tdrive/frontend/src/app/atoms/button/button.tsx b/tdrive/frontend/src/app/atoms/button/button.tsx index 1e97516a..a9042a4d 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 0c2013dc..05d6efca 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 2f250e42..0dc2e560 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 ( <>