Add layer name to transaction change view

Test: Make sure layer names show up when looking at the changes view
Change-Id: I29efcc6522fb5701d86e44da2cb29655df15beb5
This commit is contained in:
Pablo Gamito
2020-07-29 14:10:13 +01:00
parent d120b06c91
commit 19db1a5688
3 changed files with 110 additions and 17 deletions

View File

@@ -78,6 +78,7 @@ export default {
},
sufacesAffectedBy(transaction) {
if (transaction.type !== 'transaction') {
// TODO (b/162402459): Shorten layer name
return [{name: transaction.layerName, id: transaction.obj.id}];
}