function getWorkItemsOptions()

in src/app/work-items-edit-form.js [332:344]


    function getWorkItemsOptions() {
      const options = [];
      if ((filter.workTypes || []).length || filter.withoutWorkType) {
        options.push(WorkItemsEditForm.getAllTypesOption());
        options.push({
          rgItemType: List.ListProps.Type.SEPARATOR
        });
      }
      if (!filter.withoutWorkType) {
        options.push(WorkItemsEditForm.getWithoutTypeOption());
      }
      return options.concat((allWorkTypes || []).map(toSelectItemShort));
    }