fix(fe/teest): miss new introduced control

This commit is contained in:
hexxa 2022-05-03 14:54:54 +08:00 committed by Hexxa
parent badd5ce65b
commit fa99d04897
2 changed files with 3 additions and 1 deletions

View file

@ -24,6 +24,7 @@ import {
settingsDialogCtrl,
settingsTabsCtrl,
filesViewCtrl,
dropAreaCtrl,
} from "../../common/controls";
describe("Login", () => {
@ -145,6 +146,7 @@ describe("Login", () => {
[sharingCtrl]: ctrlOff,
[filesViewCtrl]: "rows",
[loadingCtrl]: ctrlOff,
[dropAreaCtrl]: ctrlOff,
}),
options: Map<string, Set<string>>({
[panelTabs]: Set<string>([
@ -157,6 +159,7 @@ describe("Login", () => {
[sharingCtrl]: Set<string>([ctrlOn, ctrlOff]),
[filesViewCtrl]: Set<string>(["rows", "table"]),
[loadingCtrl]: Set<string>([ctrlOn, ctrlOff]),
[dropAreaCtrl]: Set<string>([ctrlOn, ctrlOff]),
}),
},
});

View file

@ -97,7 +97,6 @@ export class Layers extends React.Component<Props, State, {}> {
/>
</div>
{/* ${dropAreaClass} */}
<div id="drop-area-layer" className={`${dropAreaClass}`}>
<div className="drop-area-container">
<div className="drop-area major-bg focus-font">