Merge pull request #2464 from mslourens/make_labels_more_consistent
make labels for editing more consistent
This commit is contained in:
commit
368edeb84b
|
@ -42,9 +42,9 @@
|
|||
|
||||
<Modal bind:this={modal} on:hide={onCancel}>
|
||||
<ModalContent
|
||||
title="Update Datasource"
|
||||
title="Edit Datasource"
|
||||
size="L"
|
||||
confirmText="Update"
|
||||
confirmText="Save"
|
||||
onConfirm={updateDatasource}
|
||||
disabled={error || !name || !datasource?.type}
|
||||
>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<div slot="control" class="icon">
|
||||
<Icon size="S" hoverable name="MoreSmallList" />
|
||||
</div>
|
||||
<MenuItem icon="Edit" on:click={updateDatasourceDialog.show}>Update</MenuItem>
|
||||
<MenuItem icon="Edit" on:click={updateDatasourceDialog.show}>Edit</MenuItem>
|
||||
<MenuItem icon="Delete" on:click={confirmDeleteDialog.show}>Delete</MenuItem>
|
||||
</ActionMenu>
|
||||
|
||||
|
|
|
@ -54,9 +54,7 @@
|
|||
</MenuItem>
|
||||
{/if}
|
||||
{#if !app.deployed}
|
||||
<MenuItem on:click={() => updateApp(app)} icon="Edit">
|
||||
Update
|
||||
</MenuItem>
|
||||
<MenuItem on:click={() => updateApp(app)} icon="Edit">Edit</MenuItem>
|
||||
<MenuItem on:click={() => deleteApp(app)} icon="Delete">
|
||||
Delete
|
||||
</MenuItem>
|
||||
|
|
|
@ -83,7 +83,7 @@
|
|||
</MenuItem>
|
||||
{/if}
|
||||
{#if !app.deployed}
|
||||
<MenuItem on:click={() => updateApp(app)} icon="Edit">Update</MenuItem>
|
||||
<MenuItem on:click={() => updateApp(app)} icon="Edit">Edit</MenuItem>
|
||||
<MenuItem on:click={() => deleteApp(app)} icon="Delete">Delete</MenuItem>
|
||||
{/if}
|
||||
</ActionMenu>
|
||||
|
|
|
@ -103,8 +103,8 @@
|
|||
|
||||
<Modal bind:this={modal} on:hide={onCancel} on:show={onShow}>
|
||||
<ModalContent
|
||||
title={"Update app"}
|
||||
confirmText={"Update app"}
|
||||
title={"Edit app"}
|
||||
confirmText={"Save"}
|
||||
onConfirm={updateApp}
|
||||
disabled={!(valid && dirty)}
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue