Commit dfd82c8d authored by Mark Stenglein's avatar Mark Stenglein

DelegatorsParam: Setters: Delegators Refactoring

This commit makes one more minor change to remove one more single use
variable that really isn't neccessary.
Signed-off-by: Mark Stenglein's avatarMark Stenglein <mark@stengle.in>
parent db0b75c8
Pipeline #1174 passed with stages
in 51 seconds
......@@ -95,12 +95,9 @@ export default class DelegatorsParam extends Parameter {
throw new TypeError("Delegator must be QSafeChars");
// Construct paramValues for generation
const paramValues: string[] = newDelegators.map(
this.paramValues = newDelegators.map(
delegator => `"mailto:${delegator}"`);
// Passes the built paramValues to the Parent class
this.paramValues = paramValues;
// Saves the given values for the getter funciton
this._delegators = newDelegators;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment