mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 04:08:27 +08:00
Fix jump links on diff page (#4096)
Some files that existed locally didn't have a link. After #4084, the state can be evaluated properly to determine if local object exists. Co-authored-by: Lars Hvam <larshp@hotmail.com>
This commit is contained in:
parent
9cc515340a
commit
5d480d8e8d
|
@ -688,7 +688,9 @@ CLASS ZCL_ABAPGIT_GUI_PAGE_DIFF IMPLEMENTATION.
|
|||
ENDIF.
|
||||
|
||||
" no links for nonexistent or deleted objects
|
||||
IF is_diff-lstate IS NOT INITIAL AND is_diff-lstate <> 'D'.
|
||||
IF NOT ( is_diff-lstate = zif_abapgit_definitions=>c_state-unchanged AND
|
||||
is_diff-rstate = zif_abapgit_definitions=>c_state-added ) AND
|
||||
NOT is_diff-lstate = zif_abapgit_definitions=>c_state-deleted.
|
||||
lv_adt_link = ri_html->a(
|
||||
iv_txt = |{ is_diff-path }{ is_diff-filename }|
|
||||
iv_typ = zif_abapgit_html=>c_action_type-sapevent
|
||||
|
|
Loading…
Reference in New Issue
Block a user