mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-09 20:15:07 +00:00
(apps/ecommerce) Small tweaks
(apps/mailbox) Small tweaks
This commit is contained in:
parent
f295fd9061
commit
84d40427a1
|
@ -332,15 +332,15 @@ export class InventoryListComponent implements OnInit, AfterViewInit, OnDestroy
|
||||||
const tag = this.filteredTags[0];
|
const tag = this.filteredTags[0];
|
||||||
const isTagApplied = this.selectedProduct.tags.find(id => id === tag.id);
|
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 )
|
if ( isTagApplied )
|
||||||
{
|
{
|
||||||
// Remove the tag from the contact
|
// Remove the tag from the product
|
||||||
this.removeTagFromProduct(tag);
|
this.removeTagFromProduct(tag);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Otherwise add the tag to the contact
|
// Otherwise add the tag to the product
|
||||||
this.addTagToProduct(tag);
|
this.addTagToProduct(tag);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
<!-- Header -->
|
<!-- 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="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
|
<button
|
||||||
mat-icon-button
|
mat-icon-button
|
||||||
(click)="saveAndClose()"
|
(click)="saveAndClose()"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user