From 12ea72e97295be0f8de45413d4ca9ebad8ba4204 Mon Sep 17 00:00:00 2001 From: Alexander Tsybulsky Date: Sat, 25 Feb 2023 11:21:01 +0200 Subject: [PATCH] Fix zip diff command visibility (#6087) Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com> --- src/ui/pages/zcl_abapgit_gui_page_repo_view.clas.abap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/pages/zcl_abapgit_gui_page_repo_view.clas.abap b/src/ui/pages/zcl_abapgit_gui_page_repo_view.clas.abap index 6b1ecd8e2..ccf4048d6 100644 --- a/src/ui/pages/zcl_abapgit_gui_page_repo_view.clas.abap +++ b/src/ui/pages/zcl_abapgit_gui_page_repo_view.clas.abap @@ -446,7 +446,7 @@ CLASS ZCL_ABAPGIT_GUI_PAGE_REPO_VIEW IMPLEMENTATION. ELSE. " offline repo - IF mo_repo->has_remote_source( ) = abap_true AND mo_repo_aggregated_state->remote( ) IS NOT INITIAL. + IF mo_repo->has_remote_source( ) = abap_true AND mo_repo_aggregated_state->is_unchanged( ) = abap_false. ro_toolbar->add( iv_txt = 'Pull zip' iv_act = |{ zif_abapgit_definitions=>c_action-git_pull }?key={ mv_key }| iv_opt = zif_abapgit_html=>c_html_opt-strong ).