-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bulk option upload option visible for the post which contains only single attachement. #9
Comments
@wiggin77 do you have any example of conditionally attaching post menu option? |
@fmartingr can you help with above question? |
@darkLord19 I believe the I believe the signature for it is |
@fmartingr right but I need to fetch the number of attachments in a post and it's async operation when I added that it was complaining about not meeting the type spec. |
I'm not sure about your specifics, but you should be able to retrieve the post and check the data, right? If helps, you can find some example usages using Github Code Search: https://github.com/search?type=code&auto_enroll=true&q=registerPostDropdownMenuAction |
The option for uploading all the files to the drive is open for the post where only single attachment is present.
Steps to reproduce:-
Since the post contain single attachment, this option should not be visible(or can be disabled) in such case
The text was updated successfully, but these errors were encountered: