   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
+    fileId = @get "file.id"
+    @get("store").findRecord "manualscan", fileId
   ).property()
 
   filteredEnvironments: (->


FileHeaderComponent = Ember.Component.extend

  i18n: Ember.inject.service()
  trial: Ember.inject.service()

  globalAlpha:0.4
  radiusRatio:0.9

  tStartingScan: t("startingScan")
  tPasswordCopied: t("passwordCopied")

        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"
