mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +00:00
Improve journal pages loading time (new date range filter) Various small style adjustments (meal plan page and others) Pulled German translations from Transifex Show the shopping list total value (closes #1309) Make it possible to copy recipes (closes #714) Implemented optional "auto decimal separator for price inputs" (closes #1345) Removed table grouped column fixed order restriction (closes #1402) Don't filter out style, class, id attributes of html text (closes #1298) Added product picture as column on the stock overview page (closes #1283) Added grocycodes also for chores and batteries (+ camera barcode scanning for /choretracking and /batterytracking, this now closes #221)
29 lines
498 B
JavaScript
29 lines
498 B
JavaScript
function HideTopbarPlugin()
|
|
{
|
|
return {
|
|
components: {
|
|
Topbar: function() { return null }
|
|
}
|
|
}
|
|
}
|
|
|
|
const swaggerUi = SwaggerUIBundle({
|
|
url: Grocy.OpenApi.SpecUrl,
|
|
dom_id: '#swagger-ui',
|
|
deepLinking: true,
|
|
presets: [
|
|
SwaggerUIBundle.presets.apis,
|
|
SwaggerUIStandalonePreset
|
|
],
|
|
plugins: [
|
|
SwaggerUIBundle.plugins.DownloadUrl,
|
|
HideTopbarPlugin
|
|
],
|
|
layout: 'StandaloneLayout',
|
|
docExpansion: "list",
|
|
defaultModelsExpandDepth: -1,
|
|
validatorUrl: false
|
|
});
|
|
|
|
window.ui = swaggerUi;
|