File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ export function injectAnalytics(config) {
62
62
cookie_expires : 0 , // Session cookie (non-persistent)
63
63
dimension1 : config . project . slug ,
64
64
dimension2 : config . version . slug ,
65
- dimension3 : config . project . language ,
66
- dimension5 : config . project . programming_language ,
65
+ dimension3 : config . project . language . code ,
66
+ dimension5 : config . project . programming_language . code ,
67
67
groups : "rtfd" ,
68
68
} ) ;
69
69
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export function injectExternalVersionWarning(config) {
7
7
// This way, we allow customization of the look&feel without compromising the logic.
8
8
if (
9
9
! config . features . external_version_warning . enabled ||
10
- ! config . version . external
10
+ ! config . version . type !== " external"
11
11
) {
12
12
return false ;
13
13
}
@@ -20,7 +20,7 @@ export function injectExternalVersionWarning(config) {
20
20
This page
21
21
<a class="reference external" href="${ window . location . protocol } //${ config . domains . dashboard } /projects/${ config . project . slug } /builds/${ config . build . id } /">was created </a>
22
22
from a pull request
23
- (<a class="reference external" href="${ config . project . repository_url } /pull/${ config . version . slug } ">#${ config . version . slug } </a>).
23
+ (<a class="reference external" href="${ config . project . repository . url } /pull/${ config . version . slug } ">#${ config . version . slug } </a>).
24
24
</p>
25
25
</div>
26
26
` ;
You can’t perform that action at this time.
0 commit comments