Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Feb 15, 2023
1 parent 67ec714 commit 5e35698
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions web/src/client/mixins.js
Expand Up @@ -102,9 +102,9 @@ const WithProgress = (superclass, object_path) => class extends superclass {
async getProgress() {
const proxy = await this.client.proxy(PROGRESS_IFACE, object_path);
return {
total: proxy.TotalSteps,
current: proxy.CurrentStep[0],
message: proxy.CurrentStep[1],
total: proxy.TotalSteps,
current: proxy.CurrentStep[0],
message: proxy.CurrentStep[1],
finished: proxy.Finished
};
}
Expand Down Expand Up @@ -156,6 +156,7 @@ const WithValidation = (superclass, object_path) => class extends superclass {
*/
async getValidationErrors() {
const proxy = await this.client.proxy(VALIDATION_IFACE, object_path);
console.log("getValidationErrors", VALIDATION_IFACE, object_path, proxy);
return proxy.Errors.map(createError);
}

Expand Down

0 comments on commit 5e35698

Please sign in to comment.