Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manager updates #499

Merged
merged 2 commits into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions src/assets/t9n/card-manager/resources.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"information": "Information",
"media": "Media",
"comments": "Comments",
"selectFeaturesToStart": "Select a record to get started"
"selectFeaturesToStart": "Select a record to get started. Click while pressing the Ctrl key to select multiple records in the table."
}
5 changes: 1 addition & 4 deletions src/assets/t9n/card-manager/resources_en.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"information": "Information",
"media": "Media",
"comments": "Comments",
"selectFeaturesToStart": "Select a record to get started"
"selectFeaturesToStart": "Select a record to get started. Click while pressing the Ctrl key to select multiple records in the table."
}
6 changes: 3 additions & 3 deletions src/components/layer-table/layer-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -470,8 +470,8 @@ export class LayerTable {
/**
* watch for selection changes
*/
@Watch("_selectedIds")
async _selectedIdsWatchHandler(): Promise<void> {
@Watch("selectedIds")
async selectedIdsWatchHandler(): Promise<void> {
this._updateShareUrl();
this._validateEnabledActions();
if (this._selectAllActive && this.selectedIds.length !== this._allIds.length) {
Expand Down Expand Up @@ -1889,7 +1889,7 @@ export class LayerTable {
protected _initLayerExpressions(): void {
const layerExpressions = this.mapInfo?.filterConfig?.layerExpressions;
this._layerExpressions = layerExpressions ? layerExpressions.filter(
(exp) => exp.id === this._layer.id) : [];
(exp) => exp.id === this._layer?.id) : [];
this._filterList.layerExpressions = this._layerExpressions;
this._filterActive = false;
}
Expand Down
Loading