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