diff --git a/src/ui/zcl_abapgit_gui_view_repo.clas.abap b/src/ui/zcl_abapgit_gui_view_repo.clas.abap index 0d50f3b1b..ea7e84d8e 100644 --- a/src/ui/zcl_abapgit_gui_view_repo.clas.abap +++ b/src/ui/zcl_abapgit_gui_view_repo.clas.abap @@ -287,6 +287,11 @@ CLASS ZCL_ABAPGIT_GUI_VIEW_REPO IMPLEMENTATION. ro_toolbar->add( iv_txt = 'Export zip' iv_act = |{ zif_abapgit_definitions=>c_action-zip_export }?{ lv_key }| iv_opt = zif_abapgit_html=>c_html_opt-strong ). + li_log = mo_repo->get_log( ). + IF li_log IS BOUND AND li_log->count( ) > 0. + ro_toolbar->add( iv_txt = 'Log' + iv_act = |{ zif_abapgit_definitions=>c_action-repo_log }?{ lv_key }| ). + ENDIF. ENDIF. ro_toolbar->add( iv_txt = 'Advanced'