mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 12:40:08 +08:00
16 lines
441 B
CoffeeScript
16 lines
441 B
CoffeeScript
{ComponentRegistry,
|
|
PreferencesUIStore,
|
|
WorkspaceStore} = require 'nylas-exports'
|
|
|
|
module.exports =
|
|
|
|
activate: (@state={}) ->
|
|
@preferencesTab = new PreferencesUIStore.TabItem
|
|
tabId: "Plugins"
|
|
displayName: "Plugins"
|
|
component: require "./preferences-plugins"
|
|
|
|
PreferencesUIStore.registerPreferencesTab(@preferencesTab)
|
|
|
|
deactivate: ->
|
|
PreferencesUIStore.unregisterPreferencesTab(@preferencesTab.sectionId)
|