File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
view-resources/src/components/navigator Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3838 if (last != null ) {
3939 try {
4040 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 ) {
4242 return newLocation
4343 }
4444 } catch (e ) {
Original file line number Diff line number Diff line change 175175 const query = createQuery ()
176176 $ : query .query (
177177 workbench .class .WorkbenchTab ,
178- {},
178+ { attachedTo: account . _id },
179179 (res ) => {
180180 tabs = res
181181 tabsStore .set (tabs )
788788 />
789789 </div >
790790 <!-- <ActivityStatus status="active" /> -->
791- <NavLink app ={notificationId } shrink ={0 } restoreLastLocation >
791+ <NavLink app ={notificationId } shrink ={0 }>
792792 <AppItem
793793 icon ={notification .icon .Notifications }
794794 label ={notification .string .Inbox }
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ export async function createTab (): Promise<void> {
199199 try {
200200 const last = localStorage . getItem ( `${ locationStorageKeyId } _${ notificationId } ` )
201201 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 ) {
203203 defaultUrl = locationToUrl ( lastLocation )
204204 }
205205 } catch ( e ) {
You can’t perform that action at this time.
0 commit comments