diff --git a/src/zabapgit.prog.abap b/src/zabapgit.prog.abap index d84ad1500..e92e18c12 100644 --- a/src/zabapgit.prog.abap +++ b/src/zabapgit.prog.abap @@ -3,7 +3,7 @@ REPORT zabapgit LINE-SIZE 100. * See http://www.abapgit.org CONSTANTS: gc_xml_version TYPE string VALUE 'v1.0.0', "#EC NOTEXT - gc_abap_version TYPE string VALUE 'v1.24.2'. "#EC NOTEXT + gc_abap_version TYPE string VALUE 'v1.24.3'. "#EC NOTEXT ******************************************************************************** * The MIT License (MIT) diff --git a/src/zabapgit_page_stage.prog.abap b/src/zabapgit_page_stage.prog.abap index bd254fdaa..9c1893be2 100644 --- a/src/zabapgit_page_stage.prog.abap +++ b/src/zabapgit_page_stage.prog.abap @@ -239,9 +239,11 @@ CLASS lcl_gui_page_stage IMPLEMENTATION. iv_style = 'display: none' iv_txt = 'Commit' iv_opt = gc_html_opt-emphas ) ##NO_TEXT. - ro_html->add_anchor( iv_act = |{ c_action-stage_all }| - iv_id = 'act_commit_all' - iv_txt = 'Add all and commit') ##NO_TEXT. + IF lines( ms_files-local ) > 0. + ro_html->add_anchor( iv_act = |{ c_action-stage_all }| + iv_id = 'act_commit_all' + iv_txt = 'Add all and commit') ##NO_TEXT. + ENDIF. ro_html->add( '' ). ENDMETHOD. "render_menu