Skip to content

Commit

Permalink
fix(ui): regression fix, notes are now deletable (#16175)
Browse files Browse the repository at this point in the history
regression fix, notes are now deletable
  • Loading branch information
asalem1 authored Dec 11, 2019
1 parent 8093c44 commit 7be9307
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
1. [16112](https://github.com/influxdata/influxdb/pull/16112): Create cell view properties on dashboard creation
1. [16144](https://github.com/influxdata/influxdb/pull/16144): Scrollbars are dapper and proper
1. [16172](https://github.com/influxdata/influxdb/pull/16172): Fixed table ui threshold colorization issue where setting thresholds would not change table UI
1. [16175](https://github.com/influxdata/influxdb/pull/16175): Added delete functionality to note cells so that they can be deleted

### UI Improvements

Expand Down
7 changes: 7 additions & 0 deletions ui/src/shared/components/cells/CellContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ const CellContext: FunctionComponent<Props> = ({
onHide={onHide}
testID="cell-context--note"
/>
<CellContextDangerItem
label="Delete"
onClick={handleDeleteCell}
icon={IconFont.Trash}
onHide={onHide}
testID="cell-context--delete"
/>
</div>
)
}
Expand Down

0 comments on commit 7be9307

Please sign in to comment.