mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 12:40:08 +08:00
2b324c4533
Summary: Update a few more packages to deactivate properly Miscelaneous fixes Initial commit of new settings package WIP WIP - can load and unload and install / uninstall Click to create new boilerplate package, package updating Test Plan: Run tests Reviewers: evan Reviewed By: evan Differential Revision: https://phab.nylas.com/D1582
17 lines
No EOL
520 B
CoffeeScript
17 lines
No EOL
520 B
CoffeeScript
TodayView = require "./today-view"
|
|
TodayIcon = require "./today-icon"
|
|
{ComponentRegistry,
|
|
WorkspaceStore} = require 'nylas-exports'
|
|
|
|
module.exports =
|
|
|
|
activate: (@state={}) ->
|
|
WorkspaceStore.defineSheet 'Today', {root: true, supportedModes: ['list'], name: 'Today', icon: TodayIcon},
|
|
list: ['RootSidebar', 'Today']
|
|
|
|
ComponentRegistry.register TodayView,
|
|
location: WorkspaceStore.Location.Today
|
|
|
|
deactivate: ->
|
|
ComponentRegistry.unregister(TodayView)
|
|
WorkspaceStore.undefineSheet('Today') |