mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-13 08:38:43 +03:00
parent
b94ef07150
commit
ab6239bf59
@ -92,6 +92,7 @@ export default function NotificationsScreen(props: any): ReactElement {
|
||||
<StatelessAsyncAction
|
||||
overflow="hidden"
|
||||
color="black"
|
||||
backgroundColor="white"
|
||||
onClick={onReadAll}
|
||||
>
|
||||
Mark All Read
|
||||
@ -106,7 +107,7 @@ export default function NotificationsScreen(props: any): ReactElement {
|
||||
{!view && <Inbox
|
||||
pendingJoin={pendingJoin}
|
||||
{...props}
|
||||
filter={filter.groups}
|
||||
filter={filter.groups}
|
||||
/>}
|
||||
</Col>
|
||||
</Body>
|
||||
|
@ -73,14 +73,14 @@ export function Note(props: NoteProps & RouteComponentProps) {
|
||||
if (window.ship === note?.post?.author) {
|
||||
adminLinks.push(
|
||||
<Link to={`${baseUrl}/edit`}>
|
||||
<Action>Update</Action>
|
||||
<Action backgroundColor="white">Update</Action>
|
||||
</Link>
|
||||
)
|
||||
};
|
||||
|
||||
if (window.ship === note?.post?.author || ourRole === "admin") {
|
||||
adminLinks.push(
|
||||
<Action destructive onClick={deletePost}>
|
||||
<Action backgroundColor="white" destructive onClick={deletePost}>
|
||||
Delete
|
||||
</Action>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user