Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammedaltug committed Jun 13, 2022
1 parent 70bf465 commit 96099f0
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ import { O } from 'ts-toolbelt';
import {
Action,
ActionContributorCallback,
ActionContributorCallbacks, ActionData,
ActionContributorCallbacks,
ActionData,
ActionList,
Actions,
ActionsFactory
} from "./actions";
ActionsFactory,
} from './actions';

export class ToolbarActionList<R = any> extends ActionList<
R,
Expand All @@ -31,9 +32,9 @@ export class ToolbarAction<R = any> extends Action<R> {
super(options.permission || '', options.visible, options.action);
this.text = options.text;
this.icon = options.icon || '';
if(options.btnClass){
this.btnClass = options.btnClass;
};
if (options.btnClass) {
this.btnClass = options.btnClass;
}
}

static create<R = any>(options: ToolbarActionOptions<R>) {
Expand Down

0 comments on commit 96099f0

Please sign in to comment.