mirror of
https://github.com/baserow/baserow.git
synced 2026-12-04 16:28:31 +00:00
Only render the wrapping div if the slot is actually being used
This commit is contained in:
1 parent
5911eb9de4
commit
90c98ff543
1 file changed
+1
-1
@@ -43,7 +43,7 @@
|
||||
class="form-input__icon fas"
|
||||
:class="[`fa-${icon}`]"
|
||||
/>
|
||||
<div class="form-input__suffix disabled">
|
||||
<div v-if="$slots.suffix" class="form-input__suffix disabled">
|
||||
<div>
|
||||
<slot name="suffix"></slot>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user