Fix index context

This commit is contained in:
Jake Barnby 2025-08-19 02:17:31 +12:00
parent 68bf4a6f44
commit 425d424e7c
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -19,8 +19,9 @@ abstract class Action extends UtopiaAction
public function setHttpPath(string $path): UtopiaAction
{
// Context is automatically set by Documents/Action.php setHttpPath for tablesdb paths
if (\str_contains($path, '/tablesdb')) {
$this->context = COLUMN_INDEX;
}
return parent::setHttpPath($path);
}