We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbc7c59 commit b2cce91Copy full SHA for b2cce91
1 file changed
resources/scripts/components/server/databases/DatabasesContainer.tsx
@@ -53,12 +53,18 @@ export default () => {
53
))
54
:
55
<p className={'text-center text-sm text-neutral-400'}>
56
- It looks like you have no databases. Click the button below to create one now.
+ {server.featureLimits.databases > 0 ?
57
+ `It looks like you have no databases. Click the button below to create one now.`
58
+ :
59
+ `Databases cannot be created for this server.`
60
+ }
61
</p>
62
}
63
+ {server.featureLimits.databases > 0 &&
64
<div className={'mt-6 flex justify-end'}>
65
<CreateDatabaseButton onCreated={appendDatabase}/>
66
</div>
67
68
</React.Fragment>
69
</CSSTransition>
70
0 commit comments