mirror of
https://github.com/nasa/openmct.git
synced 2024-12-18 20:57:53 +00:00
Don't allow editing line more when not editing display layout (#6858)
This commit is contained in:
parent
f0ef93dd3f
commit
50559ac502
@ -101,7 +101,11 @@ export default {
|
||||
type: Number,
|
||||
required: true
|
||||
},
|
||||
multiSelect: Boolean
|
||||
multiSelect: Boolean,
|
||||
isEditing: {
|
||||
type: Boolean,
|
||||
required: true
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@ -114,7 +118,7 @@ export default {
|
||||
showFrameEdit() {
|
||||
let layoutItem = this.selection.length > 0 && this.selection[0][0].context.layoutItem;
|
||||
|
||||
return !this.multiSelect && layoutItem && layoutItem.id === this.item.id;
|
||||
return this.isEditing && !this.multiSelect && layoutItem && layoutItem.id === this.item.id;
|
||||
},
|
||||
position() {
|
||||
let { x, y, x2, y2 } = this.item;
|
||||
|
Loading…
Reference in New Issue
Block a user