Skip to content

Commit

Permalink
fix(fe-piattaforma): fix click bottoni toolbar e chiamata numero item…
Browse files Browse the repository at this point in the history
…s errato 20240830
  • Loading branch information
federico-tocci-dxc authored and sgravinadxc committed Sep 16, 2024
1 parent e1ac8b3 commit 37c2102
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
display: flex;
flex-direction: column;
.toolbar {
position: relative;
height: fit-content;
position: static;
height: 30px;
}
.toolbar:before {
background: none;
Expand Down
4 changes: 2 additions & 2 deletions fe-piattaforma/src/pages/forms/formForum/formCreateTopic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const FormCreateTopic: React.FC<createTopicI> = (props) => {
const categoriesList = useAppSelector(selectCategoriesList);
const topicDetail: { [key: string]: string | boolean } | undefined =
useAppSelector(selectTopicDetail);
const {handleScrollToBottom} = useInfiniteScrollCategories('community_categories')
//const {handleScrollToBottom} = useInfiniteScrollCategories('community_categories')
useEffect(() => {
dispatch(GetCategoriesList({ type: 'community_categories' }));
dispatch(GetTagsList());
Expand Down Expand Up @@ -188,7 +188,7 @@ const FormCreateTopic: React.FC<createTopicI> = (props) => {
{...form?.category}
wrapperClassName='col-12 col-lg-6'
onInputChange={onInputChange}
onMenuScrollToBottom={handleScrollToBottom}
//onMenuScrollToBottom={handleScrollToBottom}
options={categoriesList?.map((opt) => ({
label: opt.name,
value: opt.id,
Expand Down
4 changes: 2 additions & 2 deletions fe-piattaforma/src/pages/forms/formForum/formLoadDocument.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const FormLoadDocument: React.FC<uploadDocumentI> = (props) => {
const docDetail: { [key: string]: string | boolean } | undefined =
useAppSelector(selectDocDetail);
const device = useAppSelector(selectDevice);
const {handleScrollToBottom} = useInfiniteScrollCategories('document_categories');
//const {handleScrollToBottom} = useInfiniteScrollCategories('document_categories');
const getInterventionsList = () => {
dispatch(GetEntityFilterValues({ entity, dropdownType: 'policies' }));
};
Expand Down Expand Up @@ -280,7 +280,7 @@ const FormLoadDocument: React.FC<uploadDocumentI> = (props) => {
{...form?.category}
wrapperClassName='col-12 col-lg-6'
onInputChange={onInputChange}
onMenuScrollToBottom={handleScrollToBottom}
//onMenuScrollToBottom={handleScrollToBottom}
options={categoriesList?.map((opt) => ({
label: opt.name,
value: opt.id,
Expand Down
4 changes: 2 additions & 2 deletions fe-piattaforma/src/pages/forms/formForum/formPublishNews.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const FormPublishNews: React.FC<publishNewsI> = (props) => {
);
const [interventionsDropdownOptions, setInterventionsDropdownOptions] =
useState(programsList || []);
const {handleScrollToBottom} = useInfiniteScrollCategories('board_categories')
//const {handleScrollToBottom} = useInfiniteScrollCategories('board_categories')
useEffect(() => {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
Expand Down Expand Up @@ -373,7 +373,7 @@ const FormPublishNews: React.FC<publishNewsI> = (props) => {
label='Categoria'
wrapperClassName='col-12 col-lg-6'
onInputChange={onInputChange}
onMenuScrollToBottom={handleScrollToBottom}
//onMenuScrollToBottom={handleScrollToBottom}
options={categoriesList?.map((opt) => ({
label: opt.name,
value: opt.id,
Expand Down

0 comments on commit 37c2102

Please sign in to comment.