expand icon simplified

This commit is contained in:
Jan Prochazka
2021-03-01 18:26:01 +01:00
parent 565a60e638
commit a4387155e7
7 changed files with 44 additions and 39 deletions

View File

@@ -10,7 +10,6 @@
import openNewTab from '../utility/openNewTab';
import { filterName } from 'dbgate-datalib';
export let commonProps;
export let data;
const icons = {
@@ -38,7 +37,7 @@
</script>
<AppObjectCore
{...commonProps}
{...$$restProps}
{data}
title={data.schemaName ? `${data.schemaName}.${data.pureName}` : data.pureName}
icon={icons[data.objectTypeField]}