[frontend] Only show main button when there is only one app
@@ -114,12 +114,12 @@ ${ hueIcons.symbols() }
<div class="btn-group" data-bind="visible: true" style="display:none; margin-top: 8px">
<!-- ko if: mainQuickCreateAction -->
<!-- ko with: mainQuickCreateAction -->
- <button class="btn btn-primary disable-feedback hue-main-create-btn" data-bind="hueLink: url, attr: {title: tooltip}">
+ <button class="btn btn-primary disable-feedback hue-main-create-btn" data-bind="hueLink: url, attr: {title: tooltip}, style: { borderBottomRightRadius: $parent.quickCreateActions().length > 1 ? '0px' : '4px', borderTopRightRadius: $parent.quickCreateActions().length > 1 ? '0px' : '4px' }">
<span data-bind="text: displayName"></span>
</button>
<!-- /ko -->
<!-- /ko -->
- <button class="btn btn-primary dropdown-toggle hue-main-create-btn-dropdown" data-toggle="dropdown">
+ <button class="btn btn-primary dropdown-toggle hue-main-create-btn-dropdown" data-toggle="dropdown" data-bind="visible: quickCreateActions().length > 1">
<!-- ko ifnot: mainQuickCreateAction -->${ _('More') } <!-- /ko -->
<span class="caret"></span>
</button>
