Commit 671fdbfa authored by Michele Alberti's avatar Michele Alberti
Browse files

Merge branch 'fix/dome/array-api' into 'master'

Fix dome array api

See merge request frama-c/frama-c!2744
parents 75b7205a 94dadd0c
......@@ -448,13 +448,18 @@ export class CompactModel<Key, Row> extends ArrayModel<Key, Row> {
Requires a final trigger to update views. */
updateData(data: Collection<Row>) {
forEach(data, (row: Row) => this.setData(this.getkey(row), row));
Replace all previous data with the new one.
Replace all previous data with the new ones.
Finally triggers a reload.
replaceAllDataWith(data: Collection<Row>) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment