(apps/ecommerce) Small tweaks

(apps/mailbox) Small tweaks
This commit is contained in:
sercan 2021-06-02 11:41:47 +03:00
parent f295fd9061
commit 84d40427a1
2 changed files with 4 additions and 4 deletions

View File

@ -332,15 +332,15 @@ export class InventoryListComponent implements OnInit, AfterViewInit, OnDestroy
const tag = this.filteredTags[0];
const isTagApplied = this.selectedProduct.tags.find(id => id === tag.id);
// If the found tag is already applied to the contact...
// If the found tag is already applied to the product...
if ( isTagApplied )
{
// Remove the tag from the contact
// Remove the tag from the product
this.removeTagFromProduct(tag);
}
else
{
// Otherwise add the tag to the contact
// Otherwise add the tag to the product
this.addTagToProduct(tag);
}
}

View File

@ -2,7 +2,7 @@
<!-- Header -->
<div class="flex flex-0 items-center justify-between h-16 pr-3 sm:pr-5 pl-6 sm:pl-8 bg-primary text-on-primary">
<div class="text-lg">New Message</div>
<div class="text-lg font-medium">New Message</div>
<button
mat-icon-button
(click)="saveAndClose()"