aboutsummaryrefslogtreecommitdiff
path: root/web/app/view
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view')
-rw-r--r--web/app/view/ReportController.js4
-rw-r--r--web/app/view/State.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/web/app/view/ReportController.js b/web/app/view/ReportController.js
index 40f3afd7..e266bf47 100644
--- a/web/app/view/ReportController.js
+++ b/web/app/view/ReportController.js
@@ -484,8 +484,8 @@ Ext.define('Traccar.view.ReportController', {
renderer: function (value, metaData, record) {
if (!value) {
return '<a href="#" onclick="Ext.fireEvent(\'routegeocode\', ' +
- record.getId() + ')" >' +
- Strings.stateShowAddress + '</a>';
+ record.getId() + ')" >' +
+ Strings.stateShowAddress + '</a>';
}
return Traccar.AttributeFormatter.getFormatter('address')(value);
}
diff --git a/web/app/view/State.js b/web/app/view/State.js
index d4c56d79..95529a48 100644
--- a/web/app/view/State.js
+++ b/web/app/view/State.js
@@ -65,7 +65,7 @@ Ext.define('Traccar.view.State', {
metaData.tdCls = 'view-color-red';
} else if (record.get('name') === Strings.positionAddress && !value) {
return '<a href="#" onclick="Ext.fireEvent(\'stategeocode\')" >' +
- Strings.stateShowAddress + '</a>';
+ Strings.sharedShowAddress + '</a>';
}
return value;
}