diff --git a/src/i18n/en.json b/src/i18n/en.json
index c7702424..6a9be1c5 100644
--- a/src/i18n/en.json
+++ b/src/i18n/en.json
@@ -326,6 +326,7 @@
"Recording successfully deleted": "Recording successfully deleted",
"Recordings": "Recordings",
"Recover password": "Recover password",
+ "Refresh": "Refresh",
"Registered Devices": "Registered Devices",
"Reloading conversation items failed": "Reloading conversation items failed",
"Reminder": "Reminder",
@@ -548,4 +549,4 @@
"{field} must be maximum of {maxValue} seconds": "{field} must be maximum of {maxValue} seconds",
"{field} must consist of numeric characters only": "{field} must consist of numeric characters only",
"{field} must have at most {maxLength} letters": "{field} must have at most {maxLength} letters"
-}
\ No newline at end of file
+}
diff --git a/src/pages/CscPageRegisteredDevices.vue b/src/pages/CscPageRegisteredDevices.vue
index 703314cb..eccf6ef0 100644
--- a/src/pages/CscPageRegisteredDevices.vue
+++ b/src/pages/CscPageRegisteredDevices.vue
@@ -21,6 +21,17 @@
+
+
+
+ {{ $t('Refresh') }}
+
+
@@ -104,17 +115,18 @@ export default {
]
}
},
- watch: {
- },
async mounted () {
- await this.fetchPaginatedRegistrations({
- pagination: this.pagination
- })
+ await this.refresh()
},
methods: {
...mapWaitingActions('user', {
loadSubscriberRegistrations: 'loadSubscriberRegistrations'
}),
+ async refresh () {
+ await this.fetchPaginatedRegistrations({
+ pagination: this.pagination
+ })
+ },
async fetchPaginatedRegistrations (props) {
const { page, rowsPerPage, sortBy, descending } = props.pagination
const count = await this.loadSubscriberRegistrations({