Fix user id for dis levels (#44)
This commit is contained in:
1 parent
958a530add
commit
3aa03da0d7
3 files changed
+10
-1
No files matched your search
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"type": "patch",
|
||||
"comment": "add user id support for levels",
|
||||
"packageName": "@acedatacloud/nexior",
|
||||
"email": "germey@acedata.cloud",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
||||
@@ -47,6 +47,7 @@ class DistributionStatusService {
|
||||
export const distributionStatusOperator = new DistributionStatusService();
|
||||
|
||||
export interface IDistributionLevelQuery {
|
||||
user_id?: string;
|
||||
limit?: number;
|
||||
}
|
||||
|
||||
|
||||
@@ -318,7 +318,8 @@ export default defineComponent({
|
||||
},
|
||||
async onFetchDistributionLevels() {
|
||||
const { data } = await distributionLevelOperator.getAll({
|
||||
limit: 20
|
||||
limit: 20,
|
||||
user_id: this.$store.getters.user.id
|
||||
});
|
||||
this.distributionLevels = data.items;
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user