Use the same component to render internal attributes

This commit is contained in:
2025-02-21 22:56:15 +11:00
parent 1cc8681b5a
commit 8cbd4eaed5
2 changed files with 5 additions and 21 deletions

View File

@@ -101,9 +101,8 @@ class Attribute implements \Countable, \ArrayAccess, \Iterator
$this->lang_tags = collect();
$this->oldValues = collect($values);
// No need to load our schema for internal attributes
if (! $this->is_internal)
$this->schema = (new Server)->schema('attributetypes',$name);
$this->schema = (new Server)
->schema('attributetypes',$name);
/*
# Should this attribute be hidden