chore: fix some comments (#24167)

This commit is contained in:
clonefetch
2024-12-09 16:07:32 +08:00
committed by GitHub
parent b6b75ce66b
commit d3f98f2e2a
3 changed files with 4 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ export function parseFilter(filter: Filter | null): Filter {
if (!currentUser) return filter ?? {};
if (!('id' in currentUser)) return filter ?? {};
// TODO should this work with policies app side? Is that a dynamic variable that we expose in other filters, that are not permisisons?
// TODO should this work with policies app side? Is that a dynamic variable that we expose in other filters, that are not permissions?
const accountability: Accountability = {
role: currentUser.role?.id ?? null,
roles: currentUser.roles.map((role) => role.id),

View File

@@ -188,3 +188,4 @@
- Zyles
- eremannisto
- m3Lith
- clonefetch

View File

@@ -37,7 +37,7 @@ Create a new collection for all the different languages your application will su
languages
- code (Primary Key Field, Type: Manually entered string )
- name (Type: String, Inferface: Input)
- name (Type: String, Interface: Input)
- direction (Type: String, Interface: Dropdown, Default Value: ltr)
```
@@ -114,7 +114,7 @@ within, you can choose to Continue in Advanced Field Creation Mode.
- title (Type: String, Interface: Input )
- slug (Type: String, Interface: Input)
- summary (Type: Text, Inteface: Textarea)
- content (Type: Text, Inferface: WYSIWYG)
- content (Type: Text, Interface: WYSIWYG)
```
![Data Model settings screen for the Articles Translations collection is displayed. The following fields are shown: id, articles_id, languages_code, title, slug, summary, content.](https://marketing.directus.app/assets/e2ee5c61-3449-40cf-9cd4-24f9edb2ae6a.png?key=doc)