File tree 1 file changed +11
-3
lines changed
1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 23
23
<div class =" col-md-8" >
24
24
<b-tabs >
25
25
<b-tab
26
- v-if =" cog"
26
+ v-if =" cog != null "
27
27
title =" Preview"
28
- active
28
+ : active= " cog != null "
29
29
>
30
30
<div
31
31
id =" map-container"
36
36
<b-tab
37
37
v-if =" thumbnail"
38
38
title =" Thumbnail"
39
+ :active =" cog == null && thumbnail != null"
39
40
>
40
41
<a :href =" thumbnail" >
41
42
<img
48
49
<b-tab
49
50
v-if =" assets.length > 0"
50
51
title =" Assets"
52
+ :active =" cog == null && thumbnail == null"
51
53
>
52
54
<div class =" table-responsive assets" >
53
55
<table class =" table" >
@@ -407,7 +409,9 @@ export default {
407
409
methods: {
408
410
... mapActions ([" load" ]),
409
411
initialize () {
410
- this .initializePreviewMap ();
412
+ if (this .cog != null ) {
413
+ this .initializePreviewMap ();
414
+ }
411
415
this .initializeLocatorMap ();
412
416
},
413
417
initializeLocatorMap () {
@@ -649,6 +653,10 @@ code {
649
653
z-index : 99999 ;
650
654
}
651
655
656
+ .leaflet-container {
657
+ background-color : #262626 ;
658
+ }
659
+
652
660
#locator-map {
653
661
height : 200px ;
654
662
width : 100% ;
You can’t perform that action at this time.
0 commit comments