This commit is contained in:
Andrew Kingston 2023-07-10 11:51:07 +01:00
parent fb35d52ac9
commit ca375b7c39
2 changed files with 2 additions and 38 deletions

View File

@ -2,7 +2,6 @@
import { Icon } from "@budibase/bbui" import { Icon } from "@budibase/bbui"
import { createEventDispatcher, getContext } from "svelte" import { createEventDispatcher, getContext } from "svelte"
import { helpers } from "@budibase/shared-core" import { helpers } from "@budibase/shared-core"
import { UserAvatar } from "@budibase/frontend-core"
import UserAvatars from "../../pages/builder/app/[application]/_components/UserAvatars.svelte" import UserAvatars from "../../pages/builder/app/[application]/_components/UserAvatars.svelte"
export let icon export let icon
@ -119,10 +118,6 @@
</div> </div>
{/if} {/if}
</div> </div>
<!--{#if selectedBy}-->
<!-- <div class="selected-by-label">{helpers.getUserLabel(selectedBy)}</div>-->
<!--{/if}-->
</div> </div>
<style> <style>
@ -172,37 +167,6 @@
padding-left: var(--spacing-l); padding-left: var(--spacing-l);
} }
/*!* Selected user styles *!*/
/*.nav-item.selectedBy:after {*/
/* content: "";*/
/* position: absolute;*/
/* width: calc(100% - 4px);*/
/* height: 28px;*/
/* border: 2px solid var(--selected-by-color);*/
/* left: 0;*/
/* top: 0;*/
/* border-radius: 2px;*/
/* pointer-events: none;*/
/*}*/
/*.selected-by-label {*/
/* position: absolute;*/
/* top: 0;*/
/* right: 0;*/
/* background: var(--selected-by-color);*/
/* padding: 2px 4px;*/
/* font-size: 12px;*/
/* color: white;*/
/* transform: translateY(calc(1px - 100%));*/
/* border-top-right-radius: 2px;*/
/* border-top-left-radius: 2px;*/
/* pointer-events: none;*/
/* opacity: 0;*/
/* transition: opacity 130ms ease-out;*/
/*}*/
/*.nav-item.selectedBy:hover .selected-by-label {*/
/* opacity: 1;*/
/*}*/
/* Needed to fully display the actions icon */ /* Needed to fully display the actions icon */
.nav-item.scrollable .nav-item-content { .nav-item.scrollable .nav-item-content {
padding-right: 1px; padding-right: 1px;

View File

@ -27,7 +27,7 @@
rowVerticalInversionIndex, rowVerticalInversionIndex,
columnHorizontalInversionIndex, columnHorizontalInversionIndex,
selectedRows, selectedRows,
config, loading,
canAddRows, canAddRows,
} = getContext("grid") } = getContext("grid")
@ -151,7 +151,7 @@
<!-- New row FAB --> <!-- New row FAB -->
<TempTooltip <TempTooltip
text="Click here to create your first row" text="Click here to create your first row"
condition={hasNoRows} condition={hasNoRows && !$loading}
type={TooltipType.Info} type={TooltipType.Info}
> >
{#if !visible && !selectedRowCount && $canAddRows} {#if !visible && !selectedRowCount && $canAddRows}