linting
This commit is contained in:
parent
82a9bbb478
commit
79832e5d4c
|
@ -27,15 +27,12 @@
|
||||||
const joinPath = join("/")
|
const joinPath = join("/")
|
||||||
|
|
||||||
const normalizedName = name =>
|
const normalizedName = name =>
|
||||||
pipe(
|
pipe(name, [
|
||||||
name,
|
trimCharsStart("./"),
|
||||||
[
|
trimCharsStart("~/"),
|
||||||
trimCharsStart("./"),
|
trimCharsStart("../"),
|
||||||
trimCharsStart("~/"),
|
trimChars(" "),
|
||||||
trimCharsStart("../"),
|
])
|
||||||
trimChars(" "),
|
|
||||||
]
|
|
||||||
)
|
|
||||||
|
|
||||||
const changeScreen = screen => {
|
const changeScreen = screen => {
|
||||||
store.setCurrentScreen(screen.props._instanceName)
|
store.setCurrentScreen(screen.props._instanceName)
|
||||||
|
|
|
@ -81,19 +81,22 @@
|
||||||
autoHeight: true,
|
autoHeight: true,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
columnDefs = [...columnDefs, {
|
columnDefs = [
|
||||||
headerName: 'Details',
|
...columnDefs,
|
||||||
field: '_id',
|
{
|
||||||
|
headerName: "Details",
|
||||||
|
field: "_id",
|
||||||
width: 25,
|
width: 25,
|
||||||
flex: 0,
|
flex: 0,
|
||||||
editable: false,
|
editable: false,
|
||||||
sortable: false,
|
sortable: false,
|
||||||
cellRenderer: getRenderer({
|
cellRenderer: getRenderer({
|
||||||
type: '_id',
|
type: "_id",
|
||||||
options: detailUrl
|
options: detailUrl,
|
||||||
}),
|
}),
|
||||||
autoHeight: true,
|
autoHeight: true,
|
||||||
}]
|
},
|
||||||
|
]
|
||||||
dataLoaded = true
|
dataLoaded = true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
<script>
|
<script>
|
||||||
import { Icon } from '@budibase/bbui'
|
import { Icon } from "@budibase/bbui"
|
||||||
export let url
|
export let url
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<a href={url}><Icon name="view" /></a>
|
<a href={url}><Icon name="view" /></a>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
a {
|
a {
|
||||||
color: var(--grey-6)
|
color: var(--grey-6);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue