mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-07-28 12:41:23 +00:00
fixes
This commit is contained in:
@@ -869,7 +869,7 @@ export async function getWallets() {
|
|||||||
let res;
|
let res;
|
||||||
if (window?.walletStorage) {
|
if (window?.walletStorage) {
|
||||||
res = await window.walletStorage.get('wallets');
|
res = await window.walletStorage.get('wallets');
|
||||||
if (!res) {
|
if (!res || res?.length === 0) {
|
||||||
const prevWallets = await getData<any>('wallets').catch(() => null);
|
const prevWallets = await getData<any>('wallets').catch(() => null);
|
||||||
if (prevWallets) {
|
if (prevWallets) {
|
||||||
await window.walletStorage.set('wallets', prevWallets);
|
await window.walletStorage.set('wallets', prevWallets);
|
||||||
|
@@ -354,6 +354,10 @@ export const NewThread = ({
|
|||||||
|
|
||||||
const idMsg = uid.rnd();
|
const idMsg = uid.rnd();
|
||||||
const identifier = `thmsg-${idThread}-${idMsg}`;
|
const identifier = `thmsg-${idThread}-${idMsg}`;
|
||||||
|
const res = await publishGroupEncryptedResource({
|
||||||
|
identifier: identifier,
|
||||||
|
encryptedData: encryptSinglePost,
|
||||||
|
});
|
||||||
const dataToSaveToStoragePost = {
|
const dataToSaveToStoragePost = {
|
||||||
threadId: idThread,
|
threadId: idThread,
|
||||||
name: myName,
|
name: myName,
|
||||||
|
@@ -411,7 +411,7 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
|||||||
onClick={saveToQdn}
|
onClick={saveToQdn}
|
||||||
variant="contained"
|
variant="contained"
|
||||||
>
|
>
|
||||||
{t('core:action.save_qdn', {
|
{t('core:message.generic.save_qdn', {
|
||||||
postProcess: 'capitalizeFirstChar',
|
postProcess: 'capitalizeFirstChar',
|
||||||
})}
|
})}
|
||||||
</LoadingButton>
|
</LoadingButton>
|
||||||
|
Reference in New Issue
Block a user