* Change to new writing method.

This commit is contained in:
wangxuepeng
2023-11-17 09:53:38 +08:00
parent bb8319a198
commit d7526fe0e9
2 changed files with 26 additions and 14 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ foreach($legendMisc['linkMR']['text'] as $MRID => $linkMRTitle)
$linkMR[] = div(a
(
$canViewMR ? set('href', $this->createLink('mr', 'view', "MRID={$MRID}")) : null,
setData(array('data-app' => 'devops')),
setData(array('app' => 'devops')),
span(label(setClass('dark-outline rounded-full mr-2'), $MRID), $linkMRTitle)
));
}