perspective UX

This commit is contained in:
Jan Prochazka
2022-08-08 19:40:50 +02:00
parent 65aa8fb4e3
commit 530b1cade3
3 changed files with 4 additions and 2 deletions

View File

@@ -32,6 +32,7 @@
export let jslid = null; export let jslid = null;
export let customCommandIcon = null; export let customCommandIcon = null;
export let onCustomCommand = null; export let onCustomCommand = null;
export let customCommandTooltip = null;
export let pureName = null; export let pureName = null;
export let schemaName = null; export let schemaName = null;
@@ -298,7 +299,7 @@
placeholder="Filter" placeholder="Filter"
/> />
{#if customCommandIcon && onCustomCommand} {#if customCommandIcon && onCustomCommand}
<InlineButton on:click={onCustomCommand} narrow square> <InlineButton on:click={onCustomCommand} title={customCommandTooltip} narrow square>
<FontIcon icon={customCommandIcon} /> <FontIcon icon={customCommandIcon} />
</InlineButton> </InlineButton>
{/if} {/if}

View File

@@ -78,5 +78,6 @@
foreignKey={filterInfo.foreignKey} foreignKey={filterInfo.foreignKey}
{customCommandIcon} {customCommandIcon}
onCustomCommand={customCommandIcon ? changeParentFilter : null} onCustomCommand={customCommandIcon ? changeParentFilter : null}
customCommandTooltip='Filter parent rows'
/> />
</div> </div>

View File

@@ -285,7 +285,7 @@
filters: { filters: {
[dataNode.columnName]: getFilterValueExpression(value, dataNode.column.dataType), [dataNode.columnName]: getFilterValueExpression(value, dataNode.column.dataType),
}, },
isFormView: true, // isFormView: true,
}, },
}, },
{ {