mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-25 13:41:12 +00:00
Transform absolute paths in frontend to relative GitOrigin-RevId: c1914c0fd09d68984ba6c85a1f00aa3e6858d944
24 lines
705 B
JavaScript
24 lines
705 B
JavaScript
/* eslint-disable
|
|
max-len,
|
|
no-return-assign,
|
|
no-undef,
|
|
*/
|
|
// TODO: This file was created by bulk-decaffeinate.
|
|
// Fix any style issues and re-enable lint.
|
|
/*
|
|
* decaffeinate suggestions:
|
|
* DS102: Remove unnecessary code created because of implicit returns
|
|
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
|
|
*/
|
|
define(['../../../base'], App =>
|
|
App.controller('BulkActionsModalController', function(
|
|
$scope,
|
|
$modalInstance,
|
|
isAccept,
|
|
nChanges
|
|
) {
|
|
$scope.isAccept = isAccept
|
|
$scope.nChanges = nChanges
|
|
$scope.cancel = () => $modalInstance.dismiss()
|
|
return ($scope.confirm = () => $modalInstance.close(isAccept))
|
|
}))
|