   version: '0.1.2'
   reactClass: React.createClass
     getInitialState: ->
-      secretary: config.get('plugin.secretary.ship')
-      ships: []   # Contains ship id < 500 only.
+      secretary: config.get('plugin.secretary.ship', 0)
+      ships: []
       shipgraph: []
     componentDidMount: ->
       window.addEventListener 'game.response', @handleResponse

            ships: ships
            shipgraph: shipgraph
        when '/kcsapi/api_port/port', '/kcsapi/api_get_member/deck', '/kcsapi/api_req_hensei/change'
          if @state.secretary == null
            @updateNotifyConfig(@state.secretary)

    ###*

        <Grid>
          <Col xs=12>
            <Input type="select" value={@state.secretary} onChange={@handleShipChange}>
              <option key={0} value={0}>当前秘书舰</option>
              {
                for ship, i in @state.ships
                  continue unless ship?
