Skip to content

Commit

Permalink
fix comments and blinking request dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
artembuslaev committed Apr 10, 2023
1 parent 724d691 commit 94e42c0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions common/src/entity/artifact-chunk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ import { Binary } from 'bson';
@Entity()
export class ArtifactChunk extends BaseEntity {
/**
* Group UUID
* Artifact UUID
*/
@Property({ nullable: true })
uuid?: string;

/**
* Policy Id name
* Chunk number
*/
@Property({ nullable: true })
number?: number;

/**
* Group UUID
* Chunk data
*/
@Property({ nullable: true })
data?: Binary;
Expand Down
12 changes: 6 additions & 6 deletions common/src/entity/artifact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,37 +8,37 @@ import { GenerateUUIDv4 } from '@guardian/interfaces';
@Entity()
export class Artifact extends BaseEntity {
/**
* Group UUID
* Artifact UUID
*/
@Property({ nullable: true })
uuid?: string;

/**
* Policy Id name
* Policy identifier
*/
@Property({ nullable: true })
policyId?: string;

/**
* User name
* Artifact name
*/
@Property({ nullable: true })
name?: string;

/**
* Member (User DID)
* Artifact type
*/
@Enum({ nullable: true })
type?: string;

/**
* Group owner (User DID)
* Atifact owner
*/
@Property({ nullable: true })
owner?: string;

/**
* Extention
* Artifact extention
*/
@Property({ nullable: true })
extention?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,11 @@ export class RequestDocumentBlockComponent implements OnInit {
ref: this.ref
}).subscribe(() => {
setTimeout(() => {
this.dialogLoading = false;
if (this.dialogRef) {
this.dialogRef.close();
this.dialogRef = null;
}
this.dialogLoading = false;
}, 1000);
}, (e) => {
console.error(e.error);
Expand Down

0 comments on commit 94e42c0

Please sign in to comment.