Merge branch 'dev' into staging
This commit is contained in:
commit
e0818d3475
@ -7,6 +7,7 @@ export interface IGetFoldersParams {
|
|||||||
q?: {
|
q?: {
|
||||||
select?: {};
|
select?: {};
|
||||||
where?: {};
|
where?: {};
|
||||||
|
orderBy?: {}[];
|
||||||
include?: {};
|
include?: {};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -17,9 +17,11 @@ export default class FilePreview extends React.Component<IProps, IState> {
|
|||||||
if (this.props.fileName) type = this.props.fileName.split(".").pop();
|
if (this.props.fileName) type = this.props.fileName.split(".").pop();
|
||||||
return (
|
return (
|
||||||
<div className={classes["root"]}>
|
<div className={classes["root"]}>
|
||||||
|
{!this.props.href && (
|
||||||
<div className={classes["loader"]}>
|
<div className={classes["loader"]}>
|
||||||
<Loader />
|
<Loader />
|
||||||
</div>
|
</div>
|
||||||
|
)}
|
||||||
|
|
||||||
{this.props.href && (
|
{this.props.href && (
|
||||||
<>
|
<>
|
||||||
|
@ -29,6 +29,11 @@ export default function SelectFolder() {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
orderBy: [
|
||||||
|
{
|
||||||
|
created_at: "desc",
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
setFolders(folders);
|
setFolders(folders);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user