Browse Source

dep to 0.4.1 of line-pod and rm spaces

pull/25/head
Alexey Velikiy 3 years ago
parent
commit
727889747e
  1. 2
      client/package.json
  2. 6
      client/src/components/Graph.vue
  3. 4
      client/src/components/hastic_pod/index.ts

2
client/package.json

@ -9,7 +9,7 @@
"lint": "vue-cli-service lint"
},
"dependencies": {
"@chartwerk/line-pod": "^0.4.0",
"@chartwerk/line-pod": "^0.4.1",
"@kyvg/vue3-notification": "^2.3.4",
"@types/lodash": "^4.14.176",
"@types/tinycolor2": "^1.4.3",

6
client/src/components/Graph.vue

@ -23,8 +23,8 @@ import { Segment, SegmentId } from '@/types/segment';
import _ from "lodash";
// TODO: move to store
async function resolveData(range: TimeRange): Promise<{
timeserie: LineTimeSerie[],
async function resolveData(range: TimeRange): Promise<{
timeserie: LineTimeSerie[],
segments: Segment[]
}> {
@ -108,7 +108,7 @@ export default defineComponent({
height: 350px;
}
pre {
pre {
display: inline;
}
</style>

4
client/src/components/hastic_pod/index.ts

@ -26,8 +26,8 @@ export class HasticPod extends LinePod {
protected segmentsContainer;
constructor(
el: HTMLElement,
udc: UpdateDataCallback,
el: HTMLElement,
udc: UpdateDataCallback,
csc: CreateSegmentCallback,
dsc: DeleteSegmentCallback,
private _segmentSet: SegmentsSet<Segment>

Loading…
Cancel
Save