Skip to content

Commit 41f6632

Browse files
javier-godoyngonzalezpazFC
authored andcommitted
Fix @Stylesheet annotation for compatibility with Vaadin 16
1 parent 746ef7e commit 41f6632

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/flowingcode/vaadin/addons/orgchart

1 file changed

+1
-1
lines changed

src/main/java/com/flowingcode/vaadin/addons/orgchart/OrgChart.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
@NpmPackage(value = "jquery", version = "3.4.1")
5252
@JsModule("jquery/dist/jquery.js")
5353
@JsModule("./orgchart/dist/js/jquery.orgchart.js")
54-
@StyleSheet("./jquery.orgchart.min.css")
54+
@StyleSheet("context://frontend/jquery.orgchart.min.css")
5555
@Tag("fc-orgchart")
5656
@JsModule("./fc-orgchart.js")
5757
public class OrgChart extends Div {

0 commit comments

Comments
 (0)