Skip to content

Commit 4ff44fc

Browse files
committed
Converts Commit Details into component app
1 parent 83df383 commit 4ff44fc

File tree

6 files changed

+744
-747
lines changed

6 files changed

+744
-747
lines changed

src/webviews/apps/commitDetails/commitDetails.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,20 @@
1414
src: url('#{root}/dist/glicons.woff2?d3b316716ee1329763a193a20834cd0a') format('woff2');
1515
}
1616
</style>
17+
<script type="application/javascript" nonce="#{cspNonce}">
18+
window.webpackResourceBasePath = '#{webroot}/';
19+
</script>
1720
</head>
1821

1922
<body
2023
class="preload"
2124
data-placement="#{placement}"
2225
data-vscode-context='{ "preventDefaultContextMenuItems": true, "webview": "#{webviewId}", "webviewInstance": "#{webviewInstanceId}" }'
2326
>
24-
<gl-commit-details-app id="app"></gl-commit-details-app>
25-
#{endOfBody}
27+
<gl-commit-details-app
28+
name="CommitDetailsView"
29+
placement="#{placement}"
30+
bootstrap="#{state}"
31+
></gl-commit-details-app>
2632
</body>
2733
</html>

0 commit comments

Comments
 (0)