Skip to content

Commit dd6a01b

Browse files
committed
fix: add default class name for the plugin instance
1 parent caba74b commit dd6a01b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type taskType = {
1515
state: Record<string, any>;
1616
}
1717

18-
export default class extends AdminForthPlugin {
18+
export default class BackgroundJobsPlugin extends AdminForthPlugin {
1919
options: PluginOptions;
2020
private taskHandlers: Record<string, taskHandlerType> = {};
2121
private jobCustomComponents: Record<string, AdminForthComponentDeclarationFull> = {};
@@ -39,7 +39,7 @@ export default class extends AdminForthPlugin {
3939

4040
async modifyResourceConfig(adminforth: IAdminForth, resourceConfig: AdminForthResource) {
4141
super.modifyResourceConfig(adminforth, resourceConfig);
42-
42+
console.log('Modifying resource config for Background Jobs Plugin');
4343
if (!adminforth.config.customization?.globalInjections?.header) {
4444
adminforth.config.customization.globalInjections.header = [];
4545
}

0 commit comments

Comments
 (0)