mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-12-05 00:44:53 +08:00
Merge pull request #576 from gaetandezeiraud/fix-flunavigationview-nostackpush
Fix FluNavigationView noStackPush
This commit is contained in:
commit
a8ca78f3f1
@ -1313,7 +1313,7 @@ Item {
|
||||
d.stackItems = d.stackItems.concat(nav_list.model[nav_list.currentIndex])
|
||||
}
|
||||
function noStackPush(){
|
||||
if(loader_content.source.toString() === url){
|
||||
if(loader_content.source.toString() === url && Object.keys(argument).length === 0){
|
||||
return
|
||||
}
|
||||
loader_content.setSource(url,argument)
|
||||
|
@ -1314,7 +1314,7 @@ Item {
|
||||
d.stackItems = d.stackItems.concat(nav_list.model[nav_list.currentIndex])
|
||||
}
|
||||
function noStackPush(){
|
||||
if(loader_content.source.toString() === url){
|
||||
if(loader_content.source.toString() === url && Object.keys(argument).length === 0){
|
||||
return
|
||||
}
|
||||
loader_content.setSource(url,argument)
|
||||
|
Loading…
Reference in New Issue
Block a user