This repository was archived by the owner on May 5, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
sormas-ui/src/main/java/de/symeda/sormas/ui/caze Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,17 +118,17 @@ protected void initView(String params) {
118118 sampleLocLayout .setSpacing (false );
119119
120120 SampleListComponent sampleList = new SampleListComponent (getCaseRef ());
121- sampleList .addStyleNames (CssStyles .SIDE_COMPONENT , CssStyles . VSPACE_NONE );
121+ sampleList .addStyleName (CssStyles .SIDE_COMPONENT );
122122 sampleLocLayout .addComponent (sampleList );
123123
124124 if (UserProvider .getCurrent ().hasUserRight (UserRight .SAMPLE_CREATE )) {
125-
126- Label infoSample = new Label (
125+ sampleList . addStyleName ( CssStyles . VSPACE_NONE );
126+ Label sampleInfo = new Label (
127127 VaadinIcons .INFO_CIRCLE .getHtml () + " " + I18nProperties .getString (Strings .infoCreateNewSampleDiscardsChanges ),
128128 ContentMode .HTML );
129- infoSample .addStyleNames (CssStyles .VSPACE_2 , CssStyles .VSPACE_TOP_4 );
129+ sampleInfo .addStyleNames (CssStyles .VSPACE_2 , CssStyles .VSPACE_TOP_4 );
130130
131- sampleLocLayout .addComponent (infoSample );
131+ sampleLocLayout .addComponent (sampleInfo );
132132 }
133133
134134 layout .addComponent (sampleLocLayout , SAMPLES_LOC );
You can’t perform that action at this time.
0 commit comments