Skip to content

Commit

Permalink
Update TheEditor.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeanon committed Mar 26, 2024
1 parent 9e70996 commit 1f16d35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/TheEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,9 @@ export default class TheEditor extends Mixins(BaseMixin) {
// check for mooncord config files
if (this.filename.startsWith('mooncord') && this.fileExtension === 'json') return 'mooncord'
// check for moonraker-telegram-bot config files
if (this.filename === 'telegram.conf') return 'moonraker-telegram-bot'
// fallback for moonraker with multi instances
if (this.filename === 'moonraker.conf') return 'moonraker'
Expand Down

0 comments on commit 1f16d35

Please sign in to comment.