# HG changeset patch # User Sebastien Jodogne # Date 1788882136 -7200 # Node ID 5b6af8d1f3a35d05749b11301d70fd0f3b42a453 # Parent f72b20cbd84e213e471308e06811f34662fc25e3 fix rendering on mobile diff -r f72b20cbd84e -r 5b6af8d1f3a3 ViewerPlugin/WebApplication/viewer.html --- a/ViewerPlugin/WebApplication/viewer.html Mon Sep 07 20:58:51 2026 +0200 +++ b/ViewerPlugin/WebApplication/viewer.html Tue Sep 08 17:42:16 2026 +0200 @@ -568,8 +568,8 @@
@@ -609,8 +609,8 @@ + :value="importUserSearchQuery" + v-on:input="ImportUserSearchChanged($event.target.value)">
diff -r f72b20cbd84e -r 5b6af8d1f3a3 ViewerPlugin/WebApplication/viewer.js --- a/ViewerPlugin/WebApplication/viewer.js Mon Sep 07 20:58:51 2026 +0200 +++ b/ViewerPlugin/WebApplication/viewer.js Tue Sep 08 17:42:16 2026 +0200 @@ -1183,7 +1183,10 @@ this.shareLayerSearchResults = []; }, - ShareLayerSearchUsers: function() { + ShareLayerSearchUsers: function(newQuery) { + if (newQuery !== undefined) { + this.shareLayerSearchQuery = newQuery; + } var query = this.shareLayerSearchQuery.trim(); if (!query) { this.shareLayerSearchResults = []; @@ -1228,13 +1231,18 @@ this.CreatePostPayload({})) .then(function(response) { that.importAvailableUsers = response.data; + that.ImportUserSearchChanged(); }) .catch(function() { console.error('Cannot load users sharing layers'); }); }, - ImportUserSearchChanged: function() { + ImportUserSearchChanged: function(newQuery) { + if (newQuery !== undefined) { + this.importUserSearchQuery = newQuery; + } + this.importSelectedUser = ''; this.importSelectedLayer = ''; this.importAvailableLayers = [];