this.notices.update((notices) => {
const index = notices.findIndex((notice) => notice.id === updated.id);
notices[index].isPinned = updated.isPinned;
return notices;
});
selectedPage(ev: any) {
this.pageInfo.update((pageInfo) => {
return { ...pageInfo, currentPage: ev };
});
}