Lint
This commit is contained in:
parent
666762a2c2
commit
c614c0739f
|
@ -2,7 +2,6 @@
|
|||
import { getContext, onMount } from "svelte"
|
||||
import { Modal } from "@budibase/bbui"
|
||||
import CreateEditColumn from "../CreateEditColumn.svelte"
|
||||
import { tables } from "stores/backend"
|
||||
|
||||
const { rows, subscribe } = getContext("sheet")
|
||||
|
||||
|
|
|
@ -325,9 +325,4 @@
|
|||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
footer {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -15,12 +15,12 @@
|
|||
}
|
||||
|
||||
const goToBuilder = () => {
|
||||
// if (app.lockedOther) {
|
||||
// notifications.error(
|
||||
// `App locked by ${app.lockedBy.email}. Please allow lock to expire or have them unlock this app.`
|
||||
// )
|
||||
// return
|
||||
// }
|
||||
if (app.lockedOther) {
|
||||
notifications.error(
|
||||
`App locked by ${app.lockedBy.email}. Please allow lock to expire or have them unlock this app.`
|
||||
)
|
||||
return
|
||||
}
|
||||
$goto(`../../app/${app.devId}`)
|
||||
}
|
||||
|
||||
|
|
|
@ -104,7 +104,6 @@
|
|||
}
|
||||
|
||||
onMount(async () => {
|
||||
return
|
||||
if (!hasSynced && application) {
|
||||
try {
|
||||
await API.syncApp(application)
|
||||
|
|
|
@ -80,16 +80,6 @@
|
|||
open = false
|
||||
}
|
||||
|
||||
const moveStart = () => {
|
||||
reorder.actions.moveColumnToStart(column.name)
|
||||
open = false
|
||||
}
|
||||
|
||||
const moveEnd = () => {
|
||||
reorder.actions.moveColumnToEnd(column.name)
|
||||
open = false
|
||||
}
|
||||
|
||||
const makeDisplayColumn = () => {
|
||||
columns.actions.changePrimaryDisplay(column.name)
|
||||
open = false
|
||||
|
|
|
@ -64,9 +64,6 @@
|
|||
align-items: flex-start;
|
||||
overflow: hidden;
|
||||
}
|
||||
.text-cell.editable:hover {
|
||||
cursor: text;
|
||||
}
|
||||
.text-cell.number {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
|
|
@ -183,9 +183,6 @@
|
|||
width: 100%;
|
||||
transition: margin-bottom 130ms ease-out;
|
||||
}
|
||||
.new-row.visible {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.new-row :global(.cell) {
|
||||
--cell-background: var(--background) !important;
|
||||
border-bottom: none;
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
on:mouseenter={() => ($hoveredRowId = row._id)}
|
||||
on:mouseleave={() => ($hoveredRowId = null)}
|
||||
>
|
||||
{#each $renderedColumns as column, idx (column.name)}
|
||||
{#each $renderedColumns as column, columnIdx (column.name)}
|
||||
{@const cellId = `${row._id}-${column.name}`}
|
||||
<DataCell
|
||||
{cellId}
|
||||
|
@ -37,7 +37,7 @@
|
|||
{row}
|
||||
{invertY}
|
||||
{rowFocused}
|
||||
invertX={idx >= $columnHorizontalInversionIndex}
|
||||
invertX={columnIdx >= $columnHorizontalInversionIndex}
|
||||
highlighted={rowHovered || rowFocused || reorderSource === column.name}
|
||||
selected={rowSelected}
|
||||
rowIdx={idx}
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
const {
|
||||
scroll,
|
||||
rowHeight,
|
||||
contentHeight,
|
||||
maxScrollTop,
|
||||
contentWidth,
|
||||
|
|
Loading…
Reference in New Issue