File tree 3 files changed +4
-4
lines changed
view-resources/src/components/navigator
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 38
38
if (last != null ) {
39
39
try {
40
40
const newLocation: Location = JSON .parse (last )
41
- if (newLocation .path [2 ] === app && newLocation .path [3 ] != null ) {
41
+ if (newLocation .path [1 ] === loc . path [ 1 ] && newLocation . path [ 2 ] === app && newLocation .path [3 ] != null ) {
42
42
return newLocation
43
43
}
44
44
} catch (e ) {
Original file line number Diff line number Diff line change 175
175
const query = createQuery ()
176
176
$ : query .query (
177
177
workbench .class .WorkbenchTab ,
178
- {},
178
+ { attachedTo: account . _id },
179
179
(res ) => {
180
180
tabs = res
181
181
tabsStore .set (tabs )
788
788
/>
789
789
</div >
790
790
<!-- <ActivityStatus status="active" /> -->
791
- <NavLink app ={notificationId } shrink ={0 } restoreLastLocation >
791
+ <NavLink app ={notificationId } shrink ={0 }>
792
792
<AppItem
793
793
icon ={notification .icon .Notifications }
794
794
label ={notification .string .Inbox }
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ export async function createTab (): Promise<void> {
199
199
try {
200
200
const last = localStorage . getItem ( `${ locationStorageKeyId } _${ notificationId } ` )
201
201
const lastLocation : Location | undefined = last != null ? JSON . parse ( last ) : undefined
202
- if ( lastLocation != null && lastLocation . path [ 2 ] === notificationId ) {
202
+ if ( lastLocation != null && lastLocation . path [ 1 ] === loc . path [ 1 ] && lastLocation . path [ 2 ] === notificationId ) {
203
203
defaultUrl = locationToUrl ( lastLocation )
204
204
}
205
205
} catch ( e ) {
You can’t perform that action at this time.
0 commit comments