Work on auto reload and related single property updates. Also bug fix for saving searched sessions.
This commit is contained in:
@@ -181,7 +181,7 @@ async function handle_obj_field_patch(new_field_value: any) {
|
||||
object_reload: object_reload,
|
||||
field_name: field_name,
|
||||
new_field_value: new_field_value,
|
||||
log_lvl: 1
|
||||
log_lvl: log_lvl
|
||||
})
|
||||
.then(function (results) {
|
||||
// console.log('Field PATCH Promise', results);
|
||||
@@ -235,8 +235,6 @@ async function handle_obj_field_patch(new_field_value: any) {
|
||||
font-normal
|
||||
transition-all duration-300 ease-in-out
|
||||
relative
|
||||
z-20
|
||||
|
||||
"
|
||||
class:hidden={hide_element}
|
||||
class:block={display_block}
|
||||
@@ -321,6 +319,10 @@ async function handle_obj_field_patch(new_field_value: any) {
|
||||
</button>
|
||||
</span>
|
||||
|
||||
<span>
|
||||
New value: {new_field_value}
|
||||
</span>
|
||||
|
||||
<span
|
||||
class="field_value
|
||||
grow
|
||||
@@ -348,7 +350,7 @@ async function handle_obj_field_patch(new_field_value: any) {
|
||||
<option value="">-- not set --</option>
|
||||
{:else if select_option_kv && Object.keys(select_option_kv).length > 0}
|
||||
{#each Object.keys(select_option_kv) as option}
|
||||
<option value={option}>{select_option_kv[option]}</option>
|
||||
<option value={option}>{select_option_kv[option]} {option}</option>
|
||||
{/each}
|
||||
{:else}
|
||||
<option value="">-- no list --</option>
|
||||
|
||||
Reference in New Issue
Block a user