Skip to content

Commit

Permalink
Added os specific plugins to list of common plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverschwendener committed Jul 9, 2019
1 parent c11dd63 commit 67d15cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/renderer/settings/settings-component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ export const settingsComponent = Vue.extend({
visible: false,
},
pluginSettingMenuItems: Object.values(PluginSettings)
.sort()
.concat(Object
.values(SettingOsSpecific)
.filter((setting: string) => setting.startsWith(platform()))
.map((setting: string) => setting.replace(`${platform()}:`, ""))),
.map((setting: string) => setting.replace(`${platform()}:`, "")))
.sort(),
};
},
methods: {
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/settings/settings-os-specific.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export enum SettingOsSpecific {
MdFind = "darwin:mdfind",
Everything = "win32:everything",
MdFind = "darwin:Mdfind",
Everything = "win32:Everything",
}

0 comments on commit 67d15cc

Please sign in to comment.