forked from jsnbuchanan/crowd-funder-for-time-pwa
fix optional message at top to not overflow
This commit is contained in:
@@ -344,14 +344,6 @@ Prerequisites: macOS with Xcode installed
|
||||
npm run build:capacitor
|
||||
```
|
||||
|
||||
2. In case dependencies change:
|
||||
|
||||
```bash
|
||||
cd ios/App
|
||||
pod install
|
||||
cd -
|
||||
```
|
||||
|
||||
3. Update iOS project with latest build:
|
||||
|
||||
```bash
|
||||
|
||||
@@ -38,14 +38,14 @@ export default class TopMessage extends Vue {
|
||||
settings.apiServer !== AppString.PROD_ENDORSER_API_SERVER
|
||||
) {
|
||||
const didPrefix = settings.activeDid?.slice(11, 15);
|
||||
this.message = "You're linked to a non-prod server, user " + didPrefix;
|
||||
this.message = "You're not using prod, user " + didPrefix;
|
||||
} else if (
|
||||
settings.warnIfProdServer &&
|
||||
settings.apiServer === AppString.PROD_ENDORSER_API_SERVER
|
||||
) {
|
||||
const didPrefix = settings.activeDid?.slice(11, 15);
|
||||
this.message =
|
||||
"You're linked to the production server, user " + didPrefix;
|
||||
"You are using prod, user " + didPrefix;
|
||||
}
|
||||
} catch (err: unknown) {
|
||||
this.$notify(
|
||||
|
||||
Reference in New Issue
Block a user