mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 20:44:30 +08:00
9599aba8ae
Summary: Fixes T1843 Test Plan: No tests for this file yet Reviewers: evan Reviewed By: evan Maniphest Tasks: T1843 Differential Revision: https://phab.nylas.com/D1641
17 lines
No EOL
522 B
CoffeeScript
17 lines
No EOL
522 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: 'today.png'},
|
|
list: ['RootSidebar', 'Today']
|
|
|
|
ComponentRegistry.register TodayView,
|
|
location: WorkspaceStore.Location.Today
|
|
|
|
deactivate: ->
|
|
ComponentRegistry.unregister(TodayView)
|
|
WorkspaceStore.undefineSheet('Today') |