release 1.6 (#1277)

This commit is contained in:
Kevin Papst
2019-11-24 15:29:01 +01:00
committed by GitHub
parent 936ab05882
commit 724eb9c658
23 changed files with 1093 additions and 1031 deletions

View File

@@ -61,7 +61,7 @@ export default class KimaiSelectDataAPI extends KimaiPlugin {
const options = {};
for (const apiData of data) {
let title = '__empty__';
if (apiData.hasOwnProperty('parentTitle')) {
if (apiData.hasOwnProperty('parentTitle') && apiData.parentTitle !== null) {
title = apiData.parentTitle;
}
if (!options.hasOwnProperty(title)) {