This commit is contained in:
mike12345567 2020-10-16 09:54:35 +01:00
parent 82a9bbb478
commit 79832e5d4c
3 changed files with 21 additions and 21 deletions

View File

@ -27,15 +27,12 @@
const joinPath = join("/")
const normalizedName = name =>
pipe(
name,
[
trimCharsStart("./"),
trimCharsStart("~/"),
trimCharsStart("../"),
trimChars(" "),
]
)
pipe(name, [
trimCharsStart("./"),
trimCharsStart("~/"),
trimCharsStart("../"),
trimChars(" "),
])
const changeScreen = screen => {
store.setCurrentScreen(screen.props._instanceName)

View File

@ -81,19 +81,22 @@
autoHeight: true,
}
})
columnDefs = [...columnDefs, {
headerName: 'Details',
field: '_id',
columnDefs = [
...columnDefs,
{
headerName: "Details",
field: "_id",
width: 25,
flex: 0,
editable: false,
sortable: false,
cellRenderer: getRenderer({
type: '_id',
options: detailUrl
type: "_id",
options: detailUrl,
}),
autoHeight: true,
}]
},
]
dataLoaded = true
}
})

View File

@ -1,12 +1,12 @@
<script>
import { Icon } from '@budibase/bbui'
export let url
import { Icon } from "@budibase/bbui"
export let url
</script>
<a href={url}><Icon name="view" /></a>
<style>
a {
color: var(--grey-6)
}
</style>
a {
color: var(--grey-6);
}
</style>