Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,657 changes: 1,369 additions & 288 deletions angular/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@angular/platform-browser": "~13.2.0",
"@angular/platform-browser-dynamic": "~13.2.0",
"@angular/router": "~13.2.0",
"@directus/sdk": "9.5.0",
"@directus/sdk": "9.10.0",
"modern-normalize": "1.1.0",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
Expand Down
2 changes: 1 addition & 1 deletion angular/src/app/pages/article/article.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class ArticlePage implements OnInit {
),
};

const moreArticlesResponse = await directus.items('articles').readMany({
const moreArticlesResponse = await directus.items('articles').readByQuery({
fields: ['*', 'author.avatar', 'author.first_name', 'author.last_name'],
filter: {
_and: [
Expand Down
2 changes: 1 addition & 1 deletion angular/src/app/pages/home/home.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class HomePage implements OnInit {
}

async fetchData() {
const response = await directus.items('articles').readMany({
const response = await directus.items('articles').readByQuery({
fields: ['*', 'author.avatar', 'author.first_name', 'author.last_name'],
sort: ['-publish_date'],
});
Expand Down
Loading