File tree 2 files changed +3
-5
lines changed
src/sentry/static/sentry/app 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ export type Project = {
9
9
id : string ;
10
10
slug : string ;
11
11
isMember : boolean ;
12
+
13
+ isBookmarked ?: boolean ;
12
14
} ;
13
15
14
16
// This type is incomplete
Original file line number Diff line number Diff line change 1
1
import _ from 'lodash' ;
2
+ import { Project } from 'app/types/index' ;
2
3
3
4
function arrayIsEqual ( arr ?: any [ ] , other ?: any [ ] , deep ?: boolean ) : boolean {
4
5
// if the other array is a falsy value, return
@@ -198,11 +199,6 @@ export function extractMultilineFields(value: string): Array<string> {
198
199
. filter ( f => f !== '' ) ;
199
200
}
200
201
201
- interface Project {
202
- isBookmarked : boolean ;
203
- slug : string ;
204
- }
205
-
206
202
function projectDisplayCompare ( a : Project , b : Project ) : number {
207
203
if ( a . isBookmarked !== b . isBookmarked ) {
208
204
return a . isBookmarked ? - 1 : 1 ;
You can’t perform that action at this time.
0 commit comments