Hide the hidden function of the imported code library page

This commit is contained in:
liyang
2024-04-25 09:32:17 +08:00
parent 22e899b21f
commit 188bdfff90
-10
View File
@@ -16,7 +16,6 @@ $items[] = array('name' => 'serviceProject', 'label' => '', 'hidden' => true);
$items[] = array('name' => $server->type == 'gitlab' ? 'name_with_namespace' : 'path', 'label' => $lang->repo->repo, 'control' => 'static');
$items[] = array('name' => $server->type == 'gitlab' ? 'name' : 'identifier', 'label' => $lang->repo->importName, 'className' => 'w-1/3');
$items[] = array('name' => 'product', 'label' => $lang->repo->product, 'control' => array('control' => 'picker', 'multiple' => true), 'items' => $products, 'className' => 'w-1/4');
$items[] = array('name' => 'actions', 'label' => $lang->actions, 'control' => array('control' => 'btn', 'className' => 'ghost repo-action'), 'width' => '60px');
$no = 1;
foreach($repoList as $repo)
@@ -43,15 +42,6 @@ foreach($repoList as $repo)
set::placeholder($lang->repo->importServer),
set::items(array('' => '') + $servers),
set::value($server->id)
),
li(
setClass('ml-2'),
checkbox
(
on::click('window.toggleShowRepo'),
setClass('show-all-repo'),
$this->lang->repo->showHidden
)
)
);