Browse Source

add snackbar

pull/222/head
PhilReact 11 months ago
parent
commit
ed6f96f439
  1. 3
      core/language/us.json
  2. 2
      core/src/components/friends-view/profile.js

3
core/language/us.json

@ -1239,6 +1239,7 @@
"profile18": "Open profile", "profile18": "Open profile",
"profile19": "Cannot fetch profile", "profile19": "Cannot fetch profile",
"profile20": "Register name", "profile20": "Register name",
"profile21": "Insert address from UI" "profile21": "Insert address from UI",
"profile22": "Success"
} }
} }

2
core/src/components/friends-view/profile.js

@ -593,7 +593,7 @@ class ProfileQdn extends connect(store)(LitElement) {
this.resourceExists = true; this.resourceExists = true;
this.profileData = data; this.profileData = data;
store.dispatch(setProfileData(data)); store.dispatch(setProfileData(data));
parentEpml.request('showSnackBar', get('profile.profile22'))
worker.terminate(); worker.terminate();
} catch (error) { } catch (error) {

Loading…
Cancel
Save