소스 검색

Merge branch 'develop'

master
Guillaume 3 년 전
부모
커밋
a3cff1aea3
1개의 변경된 파일1개의 추가작업 그리고 6개의 파일을 삭제
  1. +1
    -6
      Controller/Ticket/TicketAdminController.php

+ 1
- 6
Controller/Ticket/TicketAdminController.php 파일 보기

@@ -32,12 +32,7 @@ abstract class TicketAdminController extends SovTicketAdminController
public function configureActions(Actions $actions): Actions
{
$actions = parent::configureActions($actions);

if(!$this->getSectionCurrent()) {
$actions->disable(ActionDefinition::NEW, ActionDefinition::EDIT, ActionDefinition::DUPLICATE,ActionDefinition::DUPLICATE_TO_OTHER_SECTION, ActionDefinition::DELETE);
}else{
$actions->disable( ActionDefinition::EDIT, ActionDefinition::DUPLICATE,ActionDefinition::DUPLICATE_TO_OTHER_SECTION, ActionDefinition::DELETE);
}
$actions->disable( ActionDefinition::EDIT, ActionDefinition::DUPLICATE,ActionDefinition::DUPLICATE_TO_OTHER_SECTION, ActionDefinition::DELETE);

return $actions;
}

Loading…
취소
저장