From c57292a80e552ec3c2d3ba6ea55674e1edcda295 Mon Sep 17 00:00:00 2001 From: Rahat <136263179+rahat2134@users.noreply.github.com> Date: Wed, 8 May 2024 13:59:29 +0530 Subject: [PATCH] Fix#20230: Disable the discard button until Autosave is in progress. (#20231) * Disable discard button when autosave is in progress for mobile and desktop * Disable discard button when autosave is in progress for mobile and desktop * Make the selector more specific * correct the strings * remove comment --- .../editor-navigation.component.html | 8 ++++++- .../editor-navigation.component.spec.ts | 22 +++++++++++++++++++ .../editor-navigation.component.ts | 9 ++++++++ ...on-save-and-publish-buttons.component.html | 5 ++--- ...save-and-publish-buttons.component.spec.ts | 22 +++++++++++++++++++ ...tion-save-and-publish-buttons.component.ts | 9 ++++++++ 6 files changed, 71 insertions(+), 4 deletions(-) diff --git a/core/templates/pages/exploration-editor-page/editor-navigation/editor-navigation.component.html b/core/templates/pages/exploration-editor-page/editor-navigation/editor-navigation.component.html index 319991dfc237..7eaee2b1c130 100644 --- a/core/templates/pages/exploration-editor-page/editor-navigation/editor-navigation.component.html +++ b/core/templates/pages/exploration-editor-page/editor-navigation/editor-navigation.component.html @@ -119,7 +119,8 @@