release 1.6 (#1277)
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user