mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
fix eqeqeq issue for frontweb
This commit is contained in:
parent
b18bff4a1f
commit
d20195017c
1 changed files with 4 additions and 4 deletions
|
|
@ -216,9 +216,9 @@
|
|||
option = setting.option;
|
||||
}
|
||||
|
||||
if (option.perNote == 'scoped') {
|
||||
if (option.perNote === 'scoped') {
|
||||
return 'scoped';
|
||||
} else if (option.perNote == 'isolated') {
|
||||
} else if (option.perNote === 'isolated') {
|
||||
return 'isolated';
|
||||
} else {
|
||||
return 'shared';
|
||||
|
|
@ -235,9 +235,9 @@
|
|||
option = setting.option;
|
||||
}
|
||||
|
||||
if (option.perUser == 'scoped') {
|
||||
if (option.perUser === 'scoped') {
|
||||
return 'scoped';
|
||||
} else if (option.perUser == 'isolated') {
|
||||
} else if (option.perUser === 'isolated') {
|
||||
return 'isolated';
|
||||
} else {
|
||||
return 'shared';
|
||||
|
|
|
|||
Loading…
Reference in a new issue