🐛 Filter on archived files
This commit is contained in:
parent
153e98fb32
commit
1763ccd671
@ -187,7 +187,9 @@ class ViewDocumentsClass extends BasePage<IPropsClass, IState> {
|
|||||||
override async componentDidMount() {
|
override async componentDidMount() {
|
||||||
try {
|
try {
|
||||||
const document = await Documents.getInstance().getByUid(this.props.documentUid, {
|
const document = await Documents.getInstance().getByUid(this.props.documentUid, {
|
||||||
files: true,
|
files: {
|
||||||
|
where: { archived_at: null },
|
||||||
|
},
|
||||||
document_type: true,
|
document_type: true,
|
||||||
folder: true,
|
folder: true,
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user