Fixed map for preorderfront user
This commit is contained in:
@@ -468,6 +468,9 @@
|
||||
if(!field) {
|
||||
return;
|
||||
}
|
||||
if(!$('#filter_' + field).length) {
|
||||
return;
|
||||
}
|
||||
let val = $('#filter_' + field).val();
|
||||
if(val.length) {
|
||||
filter[field] = val;
|
||||
|
||||
@@ -652,7 +652,7 @@ class PreorderController extends mfBaseController {
|
||||
}
|
||||
|
||||
protected function apiAction() {
|
||||
if(!$this->me->is(["Admin","netowner","salespartner"])) {
|
||||
if(!$this->me->is(["Admin","netowner","salespartner","preorderfront"])) {
|
||||
$this->redirect("Dashboard");
|
||||
}
|
||||
$do = $this->request->do;
|
||||
|
||||
Reference in New Issue
Block a user