File tree Expand file tree Collapse file tree 2 files changed +23
-21
lines changed Expand file tree Collapse file tree 2 files changed +23
-21
lines changed Original file line number Diff line number Diff line change @@ -86,26 +86,29 @@ export const useFeedActions = ({
86
86
type : "separator" as const ,
87
87
disabled : isEntryList ,
88
88
} ,
89
- {
90
- type : "text" as const ,
91
- label : t ( "sidebar.feed_column.context_menu.add_feeds_to_list" ) ,
92
- enabled : ! ! listList . data ?. length ,
93
- submenu : listList . data ?. map ( ( list ) => ( {
94
- label : list . title || "" ,
95
- type : "text" ,
96
- icon : list . image ,
97
- click ( ) {
98
- return addMutation . mutate ( {
99
- feedId,
100
- listId : list . id ,
101
- } )
102
- } ,
103
- } ) ) ,
104
- } ,
105
- {
106
- type : "separator" as const ,
107
- disabled : isEntryList ,
108
- } ,
89
+ ...( ! isList
90
+ ? [
91
+ {
92
+ type : "text" as const ,
93
+ label : t ( "sidebar.feed_column.context_menu.add_feeds_to_list" ) ,
94
+ enabled : ! ! listList . data ?. length ,
95
+ submenu : listList . data ?. map ( ( list ) => ( {
96
+ label : list . title || "" ,
97
+ type : "text" as const ,
98
+ click ( ) {
99
+ return addMutation . mutate ( {
100
+ feedId,
101
+ listId : list . id ,
102
+ } )
103
+ } ,
104
+ } ) ) ,
105
+ } ,
106
+ {
107
+ type : "separator" as const ,
108
+ disabled : isEntryList ,
109
+ } ,
110
+ ]
111
+ : [ ] ) ,
109
112
{
110
113
type : "text" as const ,
111
114
label : isEntryList ? t ( "sidebar.feed_actions.edit_feed" ) : t ( "sidebar.feed_actions.edit" ) ,
Original file line number Diff line number Diff line change @@ -154,7 +154,6 @@ function FeedCategoryImpl({
154
154
submenu : listList . data ?. map ( ( list ) => ( {
155
155
label : list . title || "" ,
156
156
type : "text" ,
157
- icon : list . image ,
158
157
click ( ) {
159
158
return addMutation . mutate ( {
160
159
feedIds : ids ,
You can’t perform that action at this time.
0 commit comments