update private filter
This commit is contained in:
1 parent
a846be7e3a
commit
d34e578868
5 files changed
+8
-3
No files matched your search
@@ -50,7 +50,8 @@ export default defineComponent({
|
||||
.getAll({
|
||||
offset,
|
||||
limit,
|
||||
ordering: 'rank'
|
||||
ordering: 'rank',
|
||||
private: false
|
||||
})
|
||||
.then(({ data: data }: { data: IDocumentListResponse }) => {
|
||||
this.loading = false;
|
||||
|
||||
@@ -6,6 +6,7 @@ export interface IDocumentQuery {
|
||||
limit: number;
|
||||
offset: number;
|
||||
ordering: string;
|
||||
private: boolean;
|
||||
}
|
||||
|
||||
class DocumentOperator {
|
||||
|
||||
@@ -6,6 +6,7 @@ export interface IServiceQuery {
|
||||
limit: number;
|
||||
offset: number;
|
||||
ordering: string;
|
||||
private: boolean;
|
||||
}
|
||||
|
||||
class ServiceOperator {
|
||||
|
||||
@@ -36,7 +36,8 @@ export default defineComponent({
|
||||
.getAll({
|
||||
offset,
|
||||
limit,
|
||||
ordering: 'rank'
|
||||
ordering: 'rank',
|
||||
private: false
|
||||
})
|
||||
.then(({ data: data }: { data: IDocumentListResponse }) => {
|
||||
this.documents = data.items;
|
||||
|
||||
@@ -139,7 +139,8 @@ export default defineComponent({
|
||||
.getAll({
|
||||
limit: this.limit,
|
||||
offset: (this.page - 1) * this.limit,
|
||||
ordering: 'rank'
|
||||
ordering: 'rank',
|
||||
private: false
|
||||
})
|
||||
.then(({ data: data }: { data: IServiceListResponse }) => {
|
||||
this.services = data.items;
|
||||
|
||||
Reference in new issue
Block a user