validate request not empty to update

This commit is contained in:
yggverse 2024-07-22 00:54:17 +03:00
parent 0f01ecde96
commit ba8d528522
2 changed files with 13 additions and 1 deletions

View file

@ -16,8 +16,13 @@ class Request extends Entry
\GtkEntry $entry
): void
{
if (empty($this->getValue()))
{
return;
}
$this->navbar->page->open(
$entry->get_text()
$this->getValue()
);
$this->navbar->page->container->tab->update();