[Notebook] V2.0 development #2666 (#2755)

* Notebook v2.0
Co-authored-by: charlesh88 <charlesh88@gmail.com>
This commit is contained in:
Nikhil
2020-03-31 12:11:11 -07:00
committed by GitHub
parent 7b060509f5
commit e7e5116773
59 changed files with 4022 additions and 1302 deletions

View File

@@ -1,6 +1,7 @@
<template>
<a
class="c-tree__item__label c-object-label"
:class="classList"
draggable="true"
:href="objectLink"
@dragstart="dragStart"
@@ -43,6 +44,14 @@ export default {
};
},
computed: {
classList() {
const classList = this.observedObject.classList;
if (!classList || !classList.length) {
return '';
}
return classList.join(' ');
},
typeClass() {
let type = this.openmct.types.get(this.observedObject.type);
if (!type) {