diff options
author | bob <bcz@cs.brown.edu> | 2019-03-26 16:06:06 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-03-26 16:06:06 -0400 |
commit | e9826e0ac334bac28d173f67b4f0db0800b40680 (patch) | |
tree | 445801d2f3971243045682e13c1cd6bf0ac371a8 /src/client/northstar/operations/BaseOperation.ts | |
parent | b9d23e5adde2da01708cc8501ca375726d232d06 (diff) |
cleaned up a bit. got rid of blinking when histos change.
Diffstat (limited to 'src/client/northstar/operations/BaseOperation.ts')
-rw-r--r-- | src/client/northstar/operations/BaseOperation.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/northstar/operations/BaseOperation.ts b/src/client/northstar/operations/BaseOperation.ts index 4bc8873d5..7db6fcb91 100644 --- a/src/client/northstar/operations/BaseOperation.ts +++ b/src/client/northstar/operations/BaseOperation.ts @@ -61,7 +61,8 @@ export abstract class BaseOperation { } let operationParameters = this.CreateOperationParameters(); - this.Result = undefined; + if (this.Result) + this.Result.progress = 0; // bcz: used to set Result to undefined, but that causes the display to blink this.Error = ""; let salt = Math.random().toString(); this.RequestSalt = salt; |