Skip to content

Commit 65d8cf6

Browse files
committed
feature/Migracion-Angular-20 auto-commit
1 parent d8c93fe commit 65d8cf6

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: version 3
2-
on: [push, pull_request]
2+
on: [push]
33
jobs:
44
build:
55
name: Build and Test

projects/ngx-jsonapi-lib/src/lib/resource.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ export class Resource implements ICacheable {
267267
public hasOneRelated(resource: string): boolean {
268268
return Boolean(
269269
this.relationships[resource] &&
270-
(<Resource>this.relationships[resource].data).type &&
271-
(<Resource>this.relationships[resource].data).type !== ''
270+
(<Resource>this.relationships[resource].data).type &&
271+
(<Resource>this.relationships[resource].data).type !== ''
272272
);
273273
}
274274

0 commit comments

Comments
 (0)