Skip to content

Commit

Permalink
chore: typo in settingspage
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Oct 17, 2024
1 parent 3425a89 commit a676752
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion js/src/admin/components/ByobuSettingsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import ItemList from 'flarum/common/utils/ItemList';

import type Mithril from 'mithril';

export default class ByobuSetingsPage extends ExtensionPage {
export default class ByobuSettingsPage extends ExtensionPage {
badgeDefault: string = 'fas fa-map';
postActionDefault: string = 'far fa-map';

Expand Down
4 changes: 2 additions & 2 deletions js/src/admin/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ByobuSetingsPage from './ByobuSettingsPage';
import ByobuSettingsPage from './ByobuSettingsPage';

export const components = {
ByobuSetingsPage,
ByobuSettingsPage,
};
4 changes: 2 additions & 2 deletions js/src/admin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ import app from 'flarum/admin/app';
import User from 'flarum/common/models/User';

import addPrivateDiscussionPermission from './addPrivateDiscussionPermission';
import ByobuSettings from './components/ByobuSettingsPage';
import ByobuSettingsPage from './components/ByobuSettingsPage';

export { default as extend } from './extend';
export * from './components';

app.initializers.add('fof-byobu', () => {
app.store.models.recipients = User;

app.extensionData.for('fof-byobu').registerPage(ByobuSettings);
app.extensionData.for('fof-byobu').registerPage(ByobuSettingsPage);

addPrivateDiscussionPermission();
});

0 comments on commit a676752

Please sign in to comment.