|
@@ -76,11 +76,11 @@ export class ResourceModule extends ModuleRoot {
|
|
|
|
|
|
this.controls.sysImageListCtrl.setCrudPrefix("/sys/source");
|
|
|
this.controls.sysImageListCtrl.state.size = 20;
|
|
|
- this.controls.sysImageListCtrl.state.query = { fileType: "image" , isSvg: {$ne: true}};
|
|
|
+ this.controls.sysImageListCtrl.state.query = { fileType: "image" , isSvg: {$ne: true}, published: true};
|
|
|
|
|
|
this.controls.sysVideoListCtrl.setCrudPrefix("/sys/source");
|
|
|
this.controls.sysVideoListCtrl.state.size = 20;
|
|
|
- this.controls.sysVideoListCtrl.state.query = { fileType: "video" };
|
|
|
+ this.controls.sysVideoListCtrl.state.query = { fileType: "video" , published: true};
|
|
|
|
|
|
this.controls.sysSvgListCtrl.setCrudPrefix("/sys/source");
|
|
|
this.controls.sysSvgListCtrl.state.size = 20;
|