get layer type
This commit is contained in:
parent
93f504fa39
commit
4ca0e06940
1 changed files with 3 additions and 1 deletions
|
@ -667,7 +667,9 @@ var pandora = new Ox.App({
|
||||||
format: key.format,
|
format: key.format,
|
||||||
id: key.id,
|
id: key.id,
|
||||||
title: key.title,
|
title: key.title,
|
||||||
type: key.type
|
type: key.type == 'layer' ? Ox.getObjectById(
|
||||||
|
app.config.layers, key.id
|
||||||
|
).type : key.type
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
sortKeys: app.ui.sortKeys,
|
sortKeys: app.ui.sortKeys,
|
||||||
|
|
Loading…
Reference in a new issue