Skip to content
Snippets Groups Projects
Commit 6a57ca48 authored by Thomas Hutterer's avatar Thomas Hutterer :four:
Browse files

Disable auto-resize behavior for injected breadcrumb components

Otherwise their resize calculations would conflict with the one from
the static page breadcrumbs.
parent f7b2c3b7
No related branches found
No related tags found
2 merge requests!158455Backport Release Environments notification pipeline change to 16.11,!150700Modify injectVueAppBreadcrumbs to support new Vue page breadcrumbs
......@@ -57,5 +57,5 @@ export default {
</script>
<template>
<gl-breadcrumb :key="isLoaded" :items="allCrumbs" />
<gl-breadcrumb :key="isLoaded" :items="allCrumbs" :auto-resize="false" />
</template>
......@@ -45,5 +45,5 @@ export default {
</script>
<template>
<gl-breadcrumb :items="allCrumbs" />
<gl-breadcrumb :items="allCrumbs" :auto-resize="false" />
</template>
......@@ -46,5 +46,5 @@ export default {
};
</script>
<template>
<gl-breadcrumb :items="crumbs" />
<gl-breadcrumb :items="crumbs" :auto-resize="false" />
</template>
......@@ -35,5 +35,5 @@ export default {
</script>
<template>
<gl-breadcrumb :items="crumbs" />
<gl-breadcrumb :items="crumbs" :auto-resize="false" />
</template>
......@@ -95,5 +95,9 @@ describe('AnalyticsDashboardsBreadcrumbs', () => {
},
]);
});
it('should disable auto-resize behavior', () => {
expect(findBreadcrumbs().props('autoResize')).toEqual(false);
});
});
});
......@@ -80,4 +80,8 @@ describe('SecretsBreadcrumbs', () => {
]);
},
);
it('should disable auto-resize behavior', () => {
expect(findBreadcrumbs().props('autoResize')).toEqual(false);
});
});
......@@ -76,5 +76,9 @@ describe('workspaces/user/components/workspaces_breadcrumbs', () => {
},
]);
});
it('should disable auto-resize behavior', () => {
expect(findBreadcrumbs().props('autoResize')).toEqual(false);
});
});
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment