mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 05:41:05 +08:00
91edef9f7a
Conflicts: internal_packages/inbox-activity-bar/lib/activity-bar-long-poll-item.cjsx
16 lines
479 B
CoffeeScript
16 lines
479 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)
|