Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 2137 | Rev 2806 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 2137 Rev 2139
Línea 10... Línea 10...
10
import Options from '../../components/UI/Option'
10
import Options from '../../components/UI/Option'
11
import ConfirmModal from '../../components/modals/ConfirmModal'
11
import ConfirmModal from '../../components/modals/ConfirmModal'
12
import EmptySection from '../../components/UI/EmptySection'
12
import EmptySection from '../../components/UI/EmptySection'
13
import ProfileInfo from '../../components/widgets/default/ProfileWidget'
13
import ProfileInfo from '../../components/widgets/default/ProfileWidget'
14
import WidgetWrapper from '../../components/widgets/WidgetLayout'
14
import WidgetWrapper from '../../components/widgets/WidgetLayout'
-
 
15
import NotificationOption from '@app/components/notifications/NotificationOption'
Línea 15... Línea 16...
15
 
16
 
16
const StyledNotificationList = styled(WidgetWrapper.Body)`
17
const StyledNotificationList = styled(WidgetWrapper.Body)`
17
  max-height: 60vh;
18
  max-height: 60vh;
18
  overflow: auto;
19
  overflow: auto;
Línea 157... Línea 158...
157
 
158
 
158
              <StyledNotificationList>
159
              <StyledNotificationList>
159
                {notifications.length ? (
160
                {notifications.length ? (
160
                  [...notifications].reverse().map((notification, index) => (
161
                  [...notifications].reverse().map((notification, index) => (
161
                    <div key={index}>
162
                    <div key={index}>
162
                      <NotificationsPage.Item
-
 
163
                        onDelete={deleteNotification}
163
                      <NotificationOption
-
 
164
                        {...notification}
164
                        {...notification}
165
                        onDelete={deleteNotification}
165
                      />
166
                      />
166
                    </div>
167
                    </div>
167
                  ))
168
                  ))
168
                ) : (
169
                ) : (