diff options
author | Luka Trovic <luka@nextcloud.com> | 2021-12-30 09:41:56 +0300 |
---|---|---|
committer | Luka Trovic <luka@nextcloud.com> | 2022-01-13 15:25:00 +0300 |
commit | 90e54e4e4b1e4a4828433b73274469faf333a705 (patch) | |
tree | 7453bb8db415ce58275bfddb3454b19c73045923 /src | |
parent | 833fcfbd19279c92cf74f1fda1d0080df74c406b (diff) |
update offline state message when saving
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/EditorWrapper.vue | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/EditorWrapper.vue b/src/components/EditorWrapper.vue index 5ba0b93c4..b01b31857 100644 --- a/src/components/EditorWrapper.vue +++ b/src/components/EditorWrapper.vue @@ -184,6 +184,9 @@ export default { return this.$store.state.showAuthorAnnotations }, lastSavedStatus() { + if (this.hasConnectionIssue) { + return t('text', this.isMobile ? 'Offline' : 'Offline, changes will be saved when online') + } return this.dirtyStateIndicator ? t('text', 'Saving …') : t('text', 'Saved') }, lastSavedStatusClass() { |