 
 FileHeaderComponent = Ember.Component.extend
 
+  roleId: 0
+  userRoles: []
+  globalAlpha:0.4
+  radiusRatio:0.9
+
+  apiScanModal: false
+  isStartingRescan: false
+  dynamicScanModal: false
+  isRequestingManual: false
+  showRemoveRoleConfirmBox: false
+
+  vpnStatuses: ["yes", "no"]
+  loginStatuses: ["yes", "no"]
+  appActions: ["halt", "proceed"]
+  environments: ["staging", "production"]
+
   i18n: Ember.inject.service()
   trial: Ember.inject.service()
-
-  globalAlpha:0.4
-  radiusRatio:0.9
 
   tStartingScan: t("startingScan")
   tPasswordCopied: t("passwordCopied")

  tPleaseEnterUserRoles: t("modalCard.manual.pleaseEnterUserRoles")
  tPleaseEnterVPNDetails: t("modalCard.manual.pleaseEnterVPNDetails")

  dynamicScanModal: false
  apiScanModal: false
  isRequestingManual: false
  isStartingRescan: false
  showRemoveRoleConfirmBox: false

  roleId: 0
  userRoles: []
  environments: ["staging", "production"]
  appActions: ["halt", "proceed"]
  loginStatuses: ["yes", "no"]
  vpnStatuses: ["yes", "no"]

  manualscan: (->
    projectId = @get "file.project.id"
    @get("store").findRecord "manualscan", projectId
  ).property()

  filteredEnvironments: (->

        additional_comments: additionalComments

      that = @
      fileId = @get("file.id")
      url = [ENV.endpoints.manualscans, fileId].join '/'
      @get("ajax").put url, data: JSON.stringify(data), contentType: 'application/json'
      .then (result) ->
        that.send "requestManualScan"
