Skip to content

Commit 87bfb3b

Browse files
authored
Merge branch 'develop' into housekeeping/sentry-source-maps
2 parents 1c131b1 + df0a42d commit 87bfb3b

File tree

5 files changed

+10
-3
lines changed

5 files changed

+10
-3
lines changed

docs/modules/ROOT/nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
** xref:developer-guide/standalone-mode.adoc[Standalone Mode]
3939
** xref:developer-guide/component-overview.adoc[Component Overview]
4040
** xref:developer-guide/design.adoc[Design]
41+
** xref:developer-guide/style-configuration.adoc[Style Configuration]
4142
** xref:developer-guide/adding-visualizations.adoc[Adding Visualizations]
4243
** xref:developer-guide/state-management.adoc[State Management]
4344
** xref:developer-guide/session-storage.adoc[Session Storage]

docs/modules/ROOT/pages/developer-guide/index.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ This guide contains information for developers looking to deploy NeoDash, or ext
66
- link:configuration[Configuration]
77
- link:standalone-mode[Standalone Mode]
88
- link:component-overview[Component Overview]
9-
- link:design[Design]
9+
- link:design[Design]
10+
- link:style-configuration[Style Configuration]
1011
- link:adding-visualizations[Adding Visualizations]
1112
- link:state-management[State Management]
1213
- link:testing[Testing]
File renamed without changes.

src/dashboard/DashboardThunks.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,14 @@ export const loadDashboardFromNeo4jByNameThunk = (driver, database, name, callba
247247
'A dashboard with the provided name could not be found.'
248248
)
249249
);
250+
return;
250251
}
252+
253+
if (records[0].error) {
254+
dispatch(createNotificationThunk('Unable to load dashboard.', records[0].error));
255+
return;
256+
}
257+
251258
callback(records[0]._fields[0]);
252259
}
253260
);

src/modal/ConnectionModal.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ export default function NeoConnectionModal({
140140
<TextInput
141141
id='dbusername'
142142
value={username}
143-
disabled={standalone}
144143
onChange={(e) => setUsername(e.target.value)}
145144
label='Username'
146145
placeholder='neo4j'
@@ -158,7 +157,6 @@ export default function NeoConnectionModal({
158157
<TextInput
159158
id='dbpassword'
160159
value={password}
161-
disabled={standalone}
162160
onChange={(e) => setPassword(e.target.value)}
163161
label='Password'
164162
placeholder='neo4j'

0 commit comments

Comments
 (0)