Skip to content

Commit 7667c19

Browse files
committed
fix: debug code
1 parent f62e91d commit 7667c19

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

src/View/LinkFormatter/LinkTrait.php

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -66,25 +66,4 @@ protected function conditionalLink(string $htmlLink)
6666
'valueObj' => $this->getConfig('value'),
6767
]);
6868
}
69-
70-
/*
71-
protected $displayCondition = <<<DISPLAY_CONDITION_SCRIPT
72-
function () {
73-
const displayCondition = :displayCondition
74-
return displayCondition(obj)
75-
}
76-
DISPLAY_CONDITION_SCRIPT;
77-
78-
public function displayCondition(string $htmlLink)
79-
{
80-
if ($this->getConfig('displayCondition', true)) {
81-
return true;
82-
}
83-
84-
return Text::insert($this->conditionalLinkScript, [
85-
'disable' => $this->getConfig('displayCondition'),
86-
]);
87-
}
88-
*/
89-
9069
}

0 commit comments

Comments
 (0)