diff --git a/src/types/Behavior.ts b/src/types/Behavior.ts index 9a6a051..e0af236 100644 --- a/src/types/Behavior.ts +++ b/src/types/Behavior.ts @@ -65,8 +65,6 @@ export class Behavior { public compilePost(id: number, actions: Record, prefix: string) : void { for(const priority in this.helpers) { if(!actions.hasOwnProperty(priority)) actions[priority] = []; - - actions[priority].push(prefix); actions[priority].push(...this.helpers[priority]); } @@ -75,7 +73,6 @@ export class Behavior { for(const key in this.postParts) { if(!actions.hasOwnProperty(key)) actions[key] = []; - actions[key].push(prefix); actions[key].push(...this.postParts[key].map((part, idx) => part(id, idx))); }