 View            = require './view'
 Encoder         = require 'htmlencode'
 showError       = require 'app/util/showError'
-
+DEFAULT_LOGOPATH = '/a/images/logos/sidebar_footer_logo.svg'
 
 notify = (title, duration = 5000) -> new kd.NotificationView { title, duration }
 

      name = "#{@state.team.get 'slug'}-logo-#{Date.now()}.png"
      mimeType = file.type
      content = file
      TeamFlux.actions.uploads3({ name, content, mimeType }).then ({ url }) =>
        dataToUpdate =
          customize:
            logo: url
        @updateTeam { dataToUpdate }

      .catch ({ err }) ->
        showError err  if err

    reader.readAsDataURL file



    canEdit = kd.singletons.groupsController.canEditGroup()
    @state =
      canEdit: canEdit
      loading: no
      teamNameChanged: no
