22 lines
488 B
CoffeeScript
22 lines
488 B
CoffeeScript
`import Ember from 'ember'`
|
|
`import config from 'travis/config/environment'`
|
|
|
|
HooksListItemComponent = Ember.Component.extend
|
|
tagName: 'li'
|
|
classNames: ['row']
|
|
classNameBindings: ['hook.active:active']
|
|
|
|
githubOrgsOauthAccessSettingsUrl: config.githubOrgsOauthAccessSettingsUrl
|
|
|
|
actions:
|
|
handleToggleError: ->
|
|
@set("showError", true)
|
|
|
|
close: ->
|
|
@send('resetErrors')
|
|
|
|
resetErrors: ->
|
|
@set("showError", false)
|
|
|
|
`export default HooksListItemComponent`
|